chiark / gitweb /
scsi_id: fix typo in help text
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 29 May 2007 19:26:01 +0000 (21:26 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 29 May 2007 19:26:01 +0000 (21:26 +0200)
extras/scsi_id/scsi_id.c

index e9818a635a9660f5f7e988d5f382985f35c19a32..d8b269a950387aa45af55eb9e6a074bb39ec1d47 100644 (file)
@@ -476,7 +476,7 @@ static int set_options(int argc, char **argv, const char *short_opts,
                               "  --replace-whitespace   replace all whitespaces by underscores\n"
                               "  --verbose              verbose logging\n"
                               "  --version              print version\n"
                               "  --replace-whitespace   replace all whitespaces by underscores\n"
                               "  --verbose              verbose logging\n"
                               "  --version              print version\n"
-                              "  --export               print values as environemt keys\n"
+                              "  --export               print values as environment keys\n"
                               "  --help                 print this help text\n\n");
                        exit(0);
 
                               "  --help                 print this help text\n\n");
                        exit(0);
 
@@ -817,7 +817,7 @@ int main(int argc, char **argv)
                exit(1);
 
        if (!sys_specified) {
                exit(1);
 
        if (!sys_specified) {
-               info("-s must be specified\n");
+               info("--devpath=<path> must be specified\n");
                retval = 1;
                goto exit;
        }
                retval = 1;
                goto exit;
        }