[libgdata] demos: Fix usage documentation in youtube-cli
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] demos: Fix usage documentation in youtube-cli
- Date: Sun, 3 May 2015 23:48:31 +0000 (UTC)
commit 69d181787f4ed92690130d50858dc856c462585a
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun May 3 23:51:59 2015 +0100
demos: Fix usage documentation in youtube-cli
It was outdated.
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 7f3186f..37ff4af 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]