about summary refs log tree commit diff
path: root/cli/btcli.c
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-10-07 13:16:27 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-10-07 13:16:27 +0000
commita497ca472a72db4cbe7d8d1831d7b71fe2480778 (patch)
tree1e4b8cd56dda082f1db3eb505260f21b1fdb3d5f /cli/btcli.c
parent0eb36d3914b11b6cd7dc77de5380a191d0e6a124 (diff)
downloadbtpd-a497ca472a72db4cbe7d8d1831d7b71fe2480778.tar.gz
btpd-a497ca472a72db4cbe7d8d1831d7b71fe2480778.zip
Help text changes and make del and start take the --help option.
Diffstat (limited to 'cli/btcli.c')
-rw-r--r--cli/btcli.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/cli/btcli.c b/cli/btcli.c
index f1305a2..1b0c2de 100644
--- a/cli/btcli.c
+++ b/cli/btcli.c
@@ -122,14 +122,18 @@ usage(void)
         "\tShow this text or help for the specified command.\n"
         "\n"
         "Commands:\n"
-        "add\n"
-        "del\n"
-        "kill\n"
-        "list\n"
-        "start\n"
-        "stat\n"
-        "stop\n"
-        "\n");
+        "add\t-\tAdd torrents to btpd.\n"
+        "del\t-\tRemove torrents from btpd.\n"
+        "kill\t-\tShut down btpd.\n"
+        "list\t-\tList torrents.\n"
+        "start\t-\tActivate torrents.\n"
+        "stat\t-\tDisplay stats for active torrents.\n"
+        "stop\t-\tDeactivate torrents.\n"
+        "\n"
+        "Note:\n"
+        "Torrents can be specified either with its number or its file.\n"
+        "\n"
+        );
     exit(1);
 }