aboutsummaryrefslogtreecommitdiffstats
path: root/apps/http/icnet_http_dash_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apps/http/icnet_http_dash_client.cc')
-rw-r--r--apps/http/icnet_http_dash_client.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/http/icnet_http_dash_client.cc b/apps/http/icnet_http_dash_client.cc
index f34b8503..49605020 100644
--- a/apps/http/icnet_http_dash_client.cc
+++ b/apps/http/icnet_http_dash_client.cc
@@ -22,7 +22,7 @@ namespace http {
void usage(int argc, char **argv) {
std::cout << "Usage:" << std::endl;
- std::cout << argv[0] << " [-D] " << "[URL]" << std::endl;
+ std::cout << argv[0] << " [-D] [-n nbr_segments] " << "[URL]" << std::endl;
exit(EXIT_FAILURE);
}
@@ -33,7 +33,7 @@ int main(int argc, char **argv) {
bool daemon = false;
int opt;
- while ((opt = getopt(argc, argv, "Dh")) != -1) {
+ while ((opt = getopt(argc, argv, "Dn:h")) != -1) {
switch (opt) {
case 'D':
daemon = true;
@@ -81,4 +81,4 @@ int main(int argc, char **argv) {
int main(int argc, char **argv) {
return icnet::http::main(argc, argv);
-} \ No newline at end of file
+}