diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
commit | 5a7cef0202631204485cbcb1e36671e4321a936f (patch) | |
tree | ff3d10ac71f9284f18be7c33939f3438071e15c4 /src/auction | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/auction')
-rw-r--r-- | src/auction/gnunet-auction-create.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/auction/gnunet-auction-create.c b/src/auction/gnunet-auction-create.c index e6fcab097..9e6c23b88 100644 --- a/src/auction/gnunet-auction-create.c +++ b/src/auction/gnunet-auction-create.c | |||
@@ -157,30 +157,30 @@ main (int argc, char *const *argv) | |||
157 | { | 157 | { |
158 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 158 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
159 | 159 | ||
160 | GNUNET_GETOPT_OPTION_FILENAME ('d', | 160 | GNUNET_GETOPT_option_filename ('d', |
161 | "description", | 161 | "description", |
162 | "FILE", | 162 | "FILE", |
163 | gettext_noop ("description of the item to be sold"), | 163 | gettext_noop ("description of the item to be sold"), |
164 | &fndesc), | 164 | &fndesc), |
165 | 165 | ||
166 | GNUNET_GETOPT_OPTION_FILENAME ('p', | 166 | GNUNET_GETOPT_option_filename ('p', |
167 | "pricemap", | 167 | "pricemap", |
168 | "FILE", | 168 | "FILE", |
169 | gettext_noop ("mapping of possible prices"), | 169 | gettext_noop ("mapping of possible prices"), |
170 | &fnprices), | 170 | &fnprices), |
171 | 171 | ||
172 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('r', | 172 | GNUNET_GETOPT_option_relative_time ('r', |
173 | "roundtime", | 173 | "roundtime", |
174 | "DURATION", | 174 | "DURATION", |
175 | gettext_noop ("max duration per round"), | 175 | gettext_noop ("max duration per round"), |
176 | &dround), | 176 | &dround), |
177 | 177 | ||
178 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('s', | 178 | GNUNET_GETOPT_option_relative_time ('s', |
179 | "regtime", | 179 | "regtime", |
180 | "DURATION", | 180 | "DURATION", |
181 | gettext_noop ("duration until auction starts"), | 181 | gettext_noop ("duration until auction starts"), |
182 | &dstart), | 182 | &dstart), |
183 | GNUNET_GETOPT_OPTION_SET_UINT ('m', | 183 | GNUNET_GETOPT_option_uint ('m', |
184 | "m", | 184 | "m", |
185 | "NUMBER", | 185 | "NUMBER", |
186 | gettext_noop ("number of items to sell\n" | 186 | gettext_noop ("number of items to sell\n" |
@@ -188,12 +188,12 @@ main (int argc, char *const *argv) | |||
188 | ">0 for vickrey/M+1st price auction"), | 188 | ">0 for vickrey/M+1st price auction"), |
189 | &m), | 189 | &m), |
190 | 190 | ||
191 | GNUNET_GETOPT_OPTION_SET_ONE ('u', | 191 | GNUNET_GETOPT_option_flag ('u', |
192 | "public", | 192 | "public", |
193 | gettext_noop ("public auction outcome"), | 193 | gettext_noop ("public auction outcome"), |
194 | &outcome), | 194 | &outcome), |
195 | 195 | ||
196 | GNUNET_GETOPT_OPTION_SET_ONE ('i', | 196 | GNUNET_GETOPT_option_flag ('i', |
197 | "interactive", | 197 | "interactive", |
198 | gettext_noop ("keep running in foreground until auction completes"), | 198 | gettext_noop ("keep running in foreground until auction completes"), |
199 | &interactive), | 199 | &interactive), |