Changeset 6380


Ignore:
Timestamp:
Jul 21, 2008, 8:37:17 PM (13 years ago)
Author:
charles
Message:

make the help daemon/remote/cli help pages a little more consistent

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/cli.c

    r6374 r6380  
    443443    { 'B', "no-blocklist", "Disable peer blocklists", "B", 0, NULL },
    444444    { 'c', "comment", "Set the new torrent's comment", "c", 1, "<comment>" },
    445     { 'd', "downlimit", "Set max download speed in KB/s", "d", 1, "<number>" },
     445    { 'd', "downlimit", "Set max download speed in KB/s", "d", 1, "<speed>" },
    446446    { 'D', "no-downlimit", "Don't limit the download speed", "D", 0, NULL },
    447447    { 910, "encryption-required", "Encrypt all peer connections", "er", 0, NULL },
    448448    { 911, "encryption-preferred", "Prefer encrypted peer connections", "ep", 0, NULL },
    449449    { 912, "encryption-tolerated", "Prefer unencrypted peer connections", "et", 0, NULL },
    450     { 'f', "finish", "Set a script to run when the torrent finishes",
     450    { 'f', "finish", "Run a script when the torrent finishes",
    451451      "f", 1, "<script>" },
    452452    { 'g', "config-dir", "Where to find configuration files",
     
    455455    { 'm', "portmap", "Enable portmapping via NAT-PMP or UPnP", "m", 0, NULL },
    456456    { 'M', "no-portmap", "Disable portmapping", "M", 0, NULL },
    457     { 'n', "new", "Create a new torrent from a file or directory",
    458       "n", 1, "<path>" },
     457    { 'n', "new", "Create a new torrent",
     458      "n", 1, "<source>" },
    459459    { 'p', "port",
    460       "Port to listen for incoming peers (Default: "TR_DEFAULT_PORT_STR")",
     460      "Port for incoming peers (Default: "TR_DEFAULT_PORT_STR")",
    461461      "p", 1, "<port>" },
    462462    { 'r', "private", "Set the new torrent's 'private' flag", "r", 0, NULL },
     
    464464    { 't', "tos",
    465465      "Peer socket TOS (0 to 255, default="TR_DEFAULT_PEER_SOCKET_TOS_STR")",
    466       "t", 1, "<number>" },
    467     { 'u', "uplimit", "Set max upload speed in KB/s", "u", 1, "<number>" },
     466      "t", 1, "<tos>" },
     467    { 'u', "uplimit", "Set max upload speed in KB/s", "u", 1, "<speed>" },
    468468    { 'U', "no-uplimit", "Don't limit the upload speed", "U", 0, NULL },
    469469    { 'v', "verify", "Verify the specified torrent", "v", 0, NULL },
  • trunk/daemon/daemon.c

    r6348 r6380  
    238238    { 'f', "foreground", "Run in the foreground instead of daemonizing", "f", 0, NULL },
    239239    { 'g', "config-dir",   "Where to look for configuration files", "g", 1, "<path>" },
    240     { 'p', "port",         "Port to listen for incoming peers (Default: "TR_DEFAULT_PORT_STR")", "p", 1, "<port>" },
     240    { 'p', "port",
     241      "Port for incoming peers (Default: "TR_DEFAULT_PORT_STR")",
     242      "p", 1, "<port>" },
    241243    { 't', "auth",         "Requre authentication",           "t", 0, NULL },
    242244    { 'T', "no-auth",      "Don't require authentication",    "T", 0, NULL },
  • trunk/daemon/remote.c

    r6379 r6380  
    5353    { 'a', "add",          "Add torrent files", "a", 0, NULL },
    5454    { 'b', "debug",        "Print debugging information", "b", 0, NULL },
    55     { 'd', "downlimit",    "Set the maximum download speed in KB/s", "d", 1, "<number>" },
     55    { 'd', "downlimit",    "Set the maximum download speed in KB/s", "d", 1, "<speed>" },
    5656    { 'D', "no-downlimit", "Don't limit the download speed", "D", 0, NULL },
    5757    { 910, "encryption-required", "Encrypt all peer connections", "er", 0, NULL },
     
    6767    { 'M', "no-portmap",   "Disable portmapping", "M", 0, NULL },
    6868    { 'n', "auth",         "Set username for authentication", "n", 1, "<auth>" },
    69     { 'p', "port",         "Port to listen for incoming peers", "p", 1, "<port>" },
     69    { 'p', "port",
     70      "Port for incoming peers (Default: "TR_DEFAULT_PORT_STR")",
     71      "p", 1, "<port>" },
    7072    { 900, "priority-high", "Set the files' priorities as high", "ph", 1, "<files>" },
    7173    { 901, "priority-normal", "Set the files' priorities as normal", "pn", 1, "<files>" },
     
    7476    { 's', "start",        "Start the current torrent(s)", "s", 0, NULL },
    7577    { 'S', "stop",         "Stop the current torrent(s)", "S", 0, NULL },
    76     { 't', "torrent",      "Set the current torrent(s)", "t", 1, "<torrents>" },
    77     { 'u', "uplimit",      "Set the maximum upload speed in KB/s", "u", 1, "<number>" },
     78    { 't', "torrent",      "Set the current torrent(s)", "t", 1, "<torrent>" },
     79    { 'u', "uplimit",      "Set the maximum upload speed in KB/s", "u", 1, "<speed>" },
    7880    { 'U', "no-uplimit",   "Don't limit the upload speed", "U", 0, NULL },
    7981    { 'v', "verify",       "Verify the current torrent(s)", "v", 0, NULL },
Note: See TracChangeset for help on using the changeset viewer.