diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-11-20 20:01:01 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-11-20 20:01:01 +0900 |
commit | 5af36f7f2a3992c1705ec1f8b178fe7d95a48c47 (patch) | |
tree | 78627be22c875b48a66a6992b0b23310c8677e74 | |
parent | aedaeb12857c9d661ff02d1e7f35a8685cf10dc3 (diff) | |
download | gnunet-5af36f7f2a3992c1705ec1f8b178fe7d95a48c47.tar.gz gnunet-5af36f7f2a3992c1705ec1f8b178fe7d95a48c47.zip |
- remove some flags which do not make sense in the bulk stdin functionality
-rw-r--r-- | src/namestore/gnunet-namestore.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 46012cf21..cc887c845 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -1763,14 +1763,6 @@ process_command_stdin () | |||
1763 | "delete", | 1763 | "delete", |
1764 | gettext_noop ("delete record"), | 1764 | gettext_noop ("delete record"), |
1765 | &del), | 1765 | &del), |
1766 | GNUNET_GETOPT_option_flag ('D', | ||
1767 | "display", | ||
1768 | gettext_noop ("display records"), | ||
1769 | &list), | ||
1770 | GNUNET_GETOPT_option_flag ('S', | ||
1771 | "from-stdin", | ||
1772 | gettext_noop ("read commands from stdin"), | ||
1773 | &read_from_stdin), | ||
1774 | GNUNET_GETOPT_option_string ( | 1766 | GNUNET_GETOPT_option_string ( |
1775 | 'e', | 1767 | 'e', |
1776 | "expiration", | 1768 | "expiration", |
@@ -1784,23 +1776,12 @@ process_command_stdin () | |||
1784 | gettext_noop ( | 1776 | gettext_noop ( |
1785 | "set the desired nick name for the zone"), | 1777 | "set the desired nick name for the zone"), |
1786 | &nickstring), | 1778 | &nickstring), |
1787 | GNUNET_GETOPT_option_flag ('m', | ||
1788 | "monitor", | ||
1789 | gettext_noop ( | ||
1790 | "monitor changes in the namestore"), | ||
1791 | &monitor), | ||
1792 | GNUNET_GETOPT_option_string ('n', | 1779 | GNUNET_GETOPT_option_string ('n', |
1793 | "name", | 1780 | "name", |
1794 | "NAME", | 1781 | "NAME", |
1795 | gettext_noop ( | 1782 | gettext_noop ( |
1796 | "name of the record to add/delete/display"), | 1783 | "name of the record to add/delete/display"), |
1797 | &name), | 1784 | &name), |
1798 | GNUNET_GETOPT_option_string ('r', | ||
1799 | "reverse", | ||
1800 | "PKEY", | ||
1801 | gettext_noop ( | ||
1802 | "determine our name for the given PKEY"), | ||
1803 | &reverse_pkey), | ||
1804 | multirecord_option ( | 1785 | multirecord_option ( |
1805 | 'R', | 1786 | 'R', |
1806 | "replace", | 1787 | "replace", |
@@ -1829,25 +1810,11 @@ process_command_stdin () | |||
1829 | "public", | 1810 | "public", |
1830 | gettext_noop ("create or list public record"), | 1811 | gettext_noop ("create or list public record"), |
1831 | &is_public), | 1812 | &is_public), |
1832 | GNUNET_GETOPT_option_flag ('o', | ||
1833 | "omit-private", | ||
1834 | gettext_noop ("omit private records"), | ||
1835 | &omit_private), | ||
1836 | GNUNET_GETOPT_option_flag ('T', | ||
1837 | "include-maintenance", | ||
1838 | gettext_noop ( | ||
1839 | "do not filter maintenance records"), | ||
1840 | &include_maintenance), | ||
1841 | GNUNET_GETOPT_option_flag ('P', | 1813 | GNUNET_GETOPT_option_flag ('P', |
1842 | "purge-orphans", | 1814 | "purge-orphans", |
1843 | gettext_noop ( | 1815 | gettext_noop ( |
1844 | "purge namestore of all orphans"), | 1816 | "purge namestore of all orphans"), |
1845 | &purge_orphaned), | 1817 | &purge_orphaned), |
1846 | GNUNET_GETOPT_option_flag ('O', | ||
1847 | "list-orphans", | ||
1848 | gettext_noop ( | ||
1849 | "show private key for orphaned records for recovery using `gnunet-identity -C -P <key>'. Use in combination with --display"), | ||
1850 | &list_orphaned), | ||
1851 | GNUNET_GETOPT_option_flag ('X', | 1818 | GNUNET_GETOPT_option_flag ('X', |
1852 | "purge-zone-records", | 1819 | "purge-zone-records", |
1853 | gettext_noop ( | 1820 | gettext_noop ( |