aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-publish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r--src/fs/gnunet-publish.c57
1 files changed, 24 insertions, 33 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 395aad7db..c75469a24 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -895,35 +895,30 @@ main (int argc, char *const *argv)
895{ 895{
896 struct GNUNET_GETOPT_CommandLineOption options[] = { 896 struct GNUNET_GETOPT_CommandLineOption options[] = {
897 GNUNET_GETOPT_option_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
903 GNUNET_GETOPT_option_flag ('d', 902 GNUNET_GETOPT_option_flag ('d',
904 "disable-creation-time", 903 "disable-creation-time",
905 gettext_noop ("disable adding the creation time to the " 904 gettext_noop ("disable adding the creation time to the "
906 "metadata of the uploaded file"), 905 "metadata of the uploaded file"),
907 &do_disable_creation_time), 906 &do_disable_creation_time),
908
909 GNUNET_GETOPT_option_flag ('D', 907 GNUNET_GETOPT_option_flag ('D',
910 "disable-extractor", 908 "disable-extractor",
911 gettext_noop ("do not use libextractor to add keywords or metadata"), 909 gettext_noop ("do not use libextractor to add keywords or metadata"),
912 &disable_extractor), 910 &disable_extractor),
913
914 GNUNET_GETOPT_option_flag ('e', 911 GNUNET_GETOPT_option_flag ('e',
915 "extract", 912 "extract",
916 gettext_noop ("print list of extracted keywords that would " 913 gettext_noop ("print list of extracted keywords that would "
917 "be used, but do not perform upload"), 914 "be used, but do not perform upload"),
918 &extract_only), 915 &extract_only),
919
920 GNUNET_FS_GETOPT_KEYWORDS ('k', 916 GNUNET_FS_GETOPT_KEYWORDS ('k',
921 "key", 917 "key",
922 "KEYWORD", 918 "KEYWORD",
923 gettext_noop ("add an additional keyword for the top-level " 919 gettext_noop ("add an additional keyword for the top-level "
924 "file or directory (this option can be specified multiple times)"), 920 "file or directory (this option can be specified multiple times)"),
925 &topKeywords), 921 &topKeywords),
926
927 GNUNET_FS_GETOPT_METADATA ('m', 922 GNUNET_FS_GETOPT_METADATA ('m',
928 "meta", 923 "meta",
929 "TYPE:VALUE", 924 "TYPE:VALUE",
@@ -955,20 +950,16 @@ main (int argc, char *const *argv)
955 gettext_noop ("publish the files under the pseudonym " 950 gettext_noop ("publish the files under the pseudonym "
956 "NAME (place file into namespace)"), 951 "NAME (place file into namespace)"),
957 &pseudonym), 952 &pseudonym),
958
959 GNUNET_GETOPT_option_uint ('r', 953 GNUNET_GETOPT_option_uint ('r',
960 "replication", 954 "replication",
961 "LEVEL", 955 "LEVEL",
962 gettext_noop ("set the desired replication LEVEL"), 956 gettext_noop ("set the desired replication LEVEL"),
963 &bo.replication_level), 957 &bo.replication_level),
964
965
966 GNUNET_GETOPT_option_flag ('s', 958 GNUNET_GETOPT_option_flag ('s',
967 "simulate-only", 959 "simulate-only",
968 gettext_noop ("only simulate the process but do not do " 960 gettext_noop ("only simulate the process but do not do "
969 "any actual publishing (useful to compute URIs)"), 961 "any actual publishing (useful to compute URIs)"),
970 &do_simulate), 962 &do_simulate),
971
972 GNUNET_GETOPT_option_string ('t', 963 GNUNET_GETOPT_option_string ('t',
973 "this", 964 "this",
974 "ID", 965 "ID",
@@ -981,7 +972,7 @@ main (int argc, char *const *argv)
981 "URI", 972 "URI",
982 gettext_noop ("URI to be published (can be used instead of passing a " 973 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)"), 974 "file to add keywords to the file with the respective URI)"),
984 &uri_string), 975 &uri_string),
985 976
986 GNUNET_GETOPT_option_verbose (&verbose), 977 GNUNET_GETOPT_option_verbose (&verbose),
987 978