Mention that you can specify a path in the --smb-share argument.
authorroot <root@int001st001.VSOFS1.COM>
Sun, 6 Dec 2009 22:18:13 +0000 (09:18 +1100)
committerroot <root@int001st001.VSOFS1.COM>
Sun, 6 Dec 2009 22:18:13 +0000 (09:18 +1100)
--smb-share=//SERVER/SHARE[/PATH]

smb.c

diff --git a/smb.c b/smb.c
index 0ed2cbe7dbfa3bfb27be6e6ff4baf0fed31c3a93..1d2af968dbe45406ff93bd8192d7a1c2ca2eebd9 100644 (file)
--- a/smb.c
+++ b/smb.c
@@ -303,13 +303,13 @@ static int smb_init(void)
                return 1;
        }
        if (options.smb_share[0] != '/' || options.smb_share[1] != '/') {
-               fprintf(stderr, "--smb-share Must be of the form //SERVER/SHARE\n");
+               fprintf(stderr, "--smb-share Must be of the form //SERVER/SHARE[/PATH]\n");
                return 1;
        }
        smb_server = strdup(options.smb_share+2);
        tmp = index(smb_server, '/');
        if (tmp == NULL) {
-               fprintf(stderr, "--smb-share Must be of the form //SERVER/SHARE\n");
+               fprintf(stderr, "--smb-share Must be of the form //SERVER/SHARE[/PATH]\n");
                return 1;
        }
        *tmp = '\0';