about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--cli/add.c3
-rw-r--r--doc/btcli.15
2 files changed, 8 insertions, 0 deletions
diff --git a/cli/add.c b/cli/add.c
index 83af7df..938989e 100644
--- a/cli/add.c
+++ b/cli/add.c
@@ -19,6 +19,9 @@ usage_add(void)
         "-n name\n"
         "\tSet the name displayed for this torrent.\n"
         "\n"
+        "-l label\n"
+        "\tSet the label to associate with torrent.\n"
+        "\n"
         "--nostart, -N\n"
         "\tDon't activate the torrent after adding it.\n"
         "\n"
diff --git a/doc/btcli.1 b/doc/btcli.1
index 1857ccd..304a931 100644
--- a/doc/btcli.1
+++ b/doc/btcli.1
@@ -51,6 +51,9 @@ Append the torrent top directory (if any) to the content path.
 .TP
 \fB\-n\fR name
 Specifies the name to be displayed for this torrent.
+.TP
+\fB\-l\fR label
+Set the label to associate with torrent.
 .SH "LIST OPTIONS"
 .TP
 \fB\-a\fR
@@ -70,6 +73,8 @@ list of the characters that can be used:
 .br
 \fB%h\fR \- torrent hash
 .br
+\fB%l\fR \- torrent label
+.br
 \fB%d\fR \- download directory
 .br
 \fB%t\fR \- state