diff options
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index 2229e45e7..395aad7db 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -894,24 +894,24 @@ int | |||
894 | main (int argc, char *const *argv) | 894 | main (int argc, char *const *argv) |
895 | { | 895 | { |
896 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 896 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
897 | GNUNET_GETOPT_OPTION_SET_UINT ('a', | 897 | GNUNET_GETOPT_option_uint ('a', |
898 | "anonymity", | 898 | "anonymity", |
899 | "LEVEL", | 899 | "LEVEL", |
900 | gettext_noop ("set the desired LEVEL of sender-anonymity"), | 900 | gettext_noop ("set the desired LEVEL of sender-anonymity"), |
901 | &bo.anonymity_level), | 901 | &bo.anonymity_level), |
902 | 902 | ||
903 | GNUNET_GETOPT_OPTION_SET_ONE ('d', | 903 | GNUNET_GETOPT_option_flag ('d', |
904 | "disable-creation-time", | 904 | "disable-creation-time", |
905 | gettext_noop ("disable adding the creation time to the " | 905 | gettext_noop ("disable adding the creation time to the " |
906 | "metadata of the uploaded file"), | 906 | "metadata of the uploaded file"), |
907 | &do_disable_creation_time), | 907 | &do_disable_creation_time), |
908 | 908 | ||
909 | GNUNET_GETOPT_OPTION_SET_ONE ('D', | 909 | GNUNET_GETOPT_option_flag ('D', |
910 | "disable-extractor", | 910 | "disable-extractor", |
911 | gettext_noop ("do not use libextractor to add keywords or metadata"), | 911 | gettext_noop ("do not use libextractor to add keywords or metadata"), |
912 | &disable_extractor), | 912 | &disable_extractor), |
913 | 913 | ||
914 | GNUNET_GETOPT_OPTION_SET_ONE ('e', | 914 | GNUNET_GETOPT_option_flag ('e', |
915 | "extract", | 915 | "extract", |
916 | gettext_noop ("print list of extracted keywords that would " | 916 | gettext_noop ("print list of extracted keywords that would " |
917 | "be used, but do not perform upload"), | 917 | "be used, but do not perform upload"), |
@@ -930,60 +930,60 @@ main (int argc, char *const *argv) | |||
930 | gettext_noop ("set the meta-data for the given TYPE to the given VALUE"), | 930 | gettext_noop ("set the meta-data for the given TYPE to the given VALUE"), |
931 | &meta), | 931 | &meta), |
932 | 932 | ||
933 | GNUNET_GETOPT_OPTION_SET_ONE ('n', | 933 | GNUNET_GETOPT_option_flag ('n', |
934 | "noindex", | 934 | "noindex", |
935 | gettext_noop ("do not index, perform full insertion (stores " | 935 | gettext_noop ("do not index, perform full insertion (stores " |
936 | "entire file in encrypted form in GNUnet database)"), | 936 | "entire file in encrypted form in GNUnet database)"), |
937 | &do_insert), | 937 | &do_insert), |
938 | 938 | ||
939 | GNUNET_GETOPT_OPTION_STRING ('N', | 939 | GNUNET_GETOPT_option_string ('N', |
940 | "next", | 940 | "next", |
941 | "ID", | 941 | "ID", |
942 | gettext_noop ("specify ID of an updated version to be " | 942 | gettext_noop ("specify ID of an updated version to be " |
943 | "published in the future (for namespace insertions only)"), | 943 | "published in the future (for namespace insertions only)"), |
944 | &next_id), | 944 | &next_id), |
945 | 945 | ||
946 | GNUNET_GETOPT_OPTION_SET_UINT ('p', | 946 | GNUNET_GETOPT_option_uint ('p', |
947 | "priority", | 947 | "priority", |
948 | "PRIORITY", | 948 | "PRIORITY", |
949 | gettext_noop ("specify the priority of the content"), | 949 | gettext_noop ("specify the priority of the content"), |
950 | &bo.content_priority), | 950 | &bo.content_priority), |
951 | 951 | ||
952 | GNUNET_GETOPT_OPTION_STRING ('P', | 952 | GNUNET_GETOPT_option_string ('P', |
953 | "pseudonym", | 953 | "pseudonym", |
954 | "NAME", | 954 | "NAME", |
955 | gettext_noop ("publish the files under the pseudonym " | 955 | gettext_noop ("publish the files under the pseudonym " |
956 | "NAME (place file into namespace)"), | 956 | "NAME (place file into namespace)"), |
957 | &pseudonym), | 957 | &pseudonym), |
958 | 958 | ||
959 | GNUNET_GETOPT_OPTION_SET_UINT ('r', | 959 | GNUNET_GETOPT_option_uint ('r', |
960 | "replication", | 960 | "replication", |
961 | "LEVEL", | 961 | "LEVEL", |
962 | gettext_noop ("set the desired replication LEVEL"), | 962 | gettext_noop ("set the desired replication LEVEL"), |
963 | &bo.replication_level), | 963 | &bo.replication_level), |
964 | 964 | ||
965 | 965 | ||
966 | GNUNET_GETOPT_OPTION_SET_ONE ('s', | 966 | GNUNET_GETOPT_option_flag ('s', |
967 | "simulate-only", | 967 | "simulate-only", |
968 | gettext_noop ("only simulate the process but do not do " | 968 | gettext_noop ("only simulate the process but do not do " |
969 | "any actual publishing (useful to compute URIs)"), | 969 | "any actual publishing (useful to compute URIs)"), |
970 | &do_simulate), | 970 | &do_simulate), |
971 | 971 | ||
972 | GNUNET_GETOPT_OPTION_STRING ('t', | 972 | GNUNET_GETOPT_option_string ('t', |
973 | "this", | 973 | "this", |
974 | "ID", | 974 | "ID", |
975 | gettext_noop ("set the ID of this version of the publication " | 975 | gettext_noop ("set the ID of this version of the publication " |
976 | "(for namespace insertions only)"), | 976 | "(for namespace insertions only)"), |
977 | &this_id), | 977 | &this_id), |
978 | 978 | ||
979 | GNUNET_GETOPT_OPTION_STRING ('u', | 979 | GNUNET_GETOPT_option_string ('u', |
980 | "uri", | 980 | "uri", |
981 | "URI", | 981 | "URI", |
982 | gettext_noop ("URI to be published (can be used instead of passing a " | 982 | gettext_noop ("URI to be published (can be used instead of passing a " |
983 | "file to add keywords to the file with the respective URI)"), | 983 | "file to add keywords to the file with the respective URI)"), |
984 | &uri_string), | 984 | &uri_string), |
985 | 985 | ||
986 | GNUNET_GETOPT_OPTION_VERBOSE (&verbose), | 986 | GNUNET_GETOPT_option_verbose (&verbose), |
987 | 987 | ||
988 | GNUNET_GETOPT_OPTION_END | 988 | GNUNET_GETOPT_OPTION_END |
989 | }; | 989 | }; |