diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2015-05-03 23:51:59 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2015-05-03 23:51:59 +0100 |
commit | 69d181787f4ed92690130d50858dc856c462585a (patch) | |
tree | 6b80d818c737bf276d4d67f64ebbfe96a3076fe9 | |
parent | 03e5b84ec166d67e1f32a51dc6727a75fe826198 (diff) | |
download | libgdata-69d181787f4ed92690130d50858dc856c462585a.tar.gz |
demos: Fix usage documentation in youtube-cli
It was outdated.
-rw-r--r-- | demos/youtube/youtube-cli.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/demos/youtube/youtube-cli.c b/demos/youtube/youtube-cli.c index 7f3186f0..37ff4afc 100644 --- a/demos/youtube/youtube-cli.c +++ b/demos/youtube/youtube-cli.c @@ -29,7 +29,15 @@ static int print_usage (char *argv[]) { - g_printerr ("%s: Usage — %s search <term>\n", argv[0], argv[0]); + g_printerr ("%s: Usage — %s <subcommand>\n" + "Subcommands:\n" + " search <query string>\n" + " info <video ID>\n" + " standard-feed <feed name>\n" + " categories\n" + " related <video ID>\n" + " upload <filename> <title> [description]\n", + argv[0], argv[0]); return -1; } |