poke: change the short form of --freshness to -f
For consistency with ndnpingserver and ndnputchunks
Change-Id: I82afc6de29e207d65bf885b0acbabfc9da05a5a7
diff --git a/tools/peek/ndnpoke/main.cpp b/tools/peek/ndnpoke/main.cpp
index 669ba2a..f2a6830 100644
--- a/tools/peek/ndnpoke/main.cpp
+++ b/tools/peek/ndnpoke/main.cpp
@@ -66,11 +66,11 @@
po::options_description dataOptDesc("Data construction");
dataOptDesc.add_options()
- ("final,F", po::bool_switch(&options.wantFinalBlockId),
- "set FinalBlockId to the last component of the Data name")
- ("freshness,x", po::value<time::milliseconds::rep>()->default_value(options.freshnessPeriod.count()),
- "set FreshnessPeriod, in milliseconds")
- ("signing-info,S", po::value<std::string>(&signingStr), "see 'man ndnpoke' for usage")
+ ("freshness,f", po::value<time::milliseconds::rep>()->default_value(options.freshnessPeriod.count()),
+ "set FreshnessPeriod, in milliseconds")
+ ("final,F", po::bool_switch(&options.wantFinalBlockId),
+ "set FinalBlockId to the last component of the Data name")
+ ("signing-info,S", po::value<std::string>(&signingStr), "see 'man ndnpoke' for usage")
;
po::options_description visibleOptDesc;