aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-auto-share.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
commit5a7cef0202631204485cbcb1e36671e4321a936f (patch)
treeff3d10ac71f9284f18be7c33939f3438071e15c4 /src/fs/gnunet-auto-share.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
downloadgnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz
gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/fs/gnunet-auto-share.c')
-rw-r--r--src/fs/gnunet-auto-share.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/gnunet-auto-share.c b/src/fs/gnunet-auto-share.c
index 2f980520a..0976b37e4 100644
--- a/src/fs/gnunet-auto-share.c
+++ b/src/fs/gnunet-auto-share.c
@@ -761,35 +761,35 @@ main (int argc, char *const *argv)
761{ 761{
762 struct GNUNET_GETOPT_CommandLineOption options[] = { 762 struct GNUNET_GETOPT_CommandLineOption options[] = {
763 763
764 GNUNET_GETOPT_OPTION_SET_UINT ('a', 764 GNUNET_GETOPT_option_uint ('a',
765 "anonymity", 765 "anonymity",
766 "LEVEL", 766 "LEVEL",
767 gettext_noop ("set the desired LEVEL of sender-anonymity"), 767 gettext_noop ("set the desired LEVEL of sender-anonymity"),
768 &anonymity_level), 768 &anonymity_level),
769 769
770 GNUNET_GETOPT_OPTION_SET_ONE ('d', 770 GNUNET_GETOPT_option_flag ('d',
771 "disable-creation-time", 771 "disable-creation-time",
772 gettext_noop ("disable adding the creation time to the metadata of the uploaded file"), 772 gettext_noop ("disable adding the creation time to the metadata of the uploaded file"),
773 &do_disable_creation_time), 773 &do_disable_creation_time),
774 774
775 GNUNET_GETOPT_OPTION_SET_ONE ('D', 775 GNUNET_GETOPT_option_flag ('D',
776 "disable-extractor", 776 "disable-extractor",
777 gettext_noop ("do not use libextractor to add keywords or metadata"), 777 gettext_noop ("do not use libextractor to add keywords or metadata"),
778 &disable_extractor), 778 &disable_extractor),
779 779
780 GNUNET_GETOPT_OPTION_SET_UINT ('p', 780 GNUNET_GETOPT_option_uint ('p',
781 "priority", 781 "priority",
782 "PRIORITY", 782 "PRIORITY",
783 gettext_noop ("specify the priority of the content"), 783 gettext_noop ("specify the priority of the content"),
784 &content_priority), 784 &content_priority),
785 785
786 GNUNET_GETOPT_OPTION_SET_UINT ('r', 786 GNUNET_GETOPT_option_uint ('r',
787 "replication", 787 "replication",
788 "LEVEL", 788 "LEVEL",
789 gettext_noop ("set the desired replication LEVEL"), 789 gettext_noop ("set the desired replication LEVEL"),
790 &replication_level), 790 &replication_level),
791 791
792 GNUNET_GETOPT_OPTION_VERBOSE (&verbose), 792 GNUNET_GETOPT_option_verbose (&verbose),
793 793
794 GNUNET_GETOPT_OPTION_END 794 GNUNET_GETOPT_OPTION_END
795 }; 795 };