]> Dogcows Code - chaz/tar/commitdiff
*** empty log message ***
authorFrançois Pinard <pinard@iro.umontreal.ca>
Wed, 16 Nov 1994 03:03:21 +0000 (03:03 +0000)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Wed, 16 Nov 1994 03:03:21 +0000 (03:03 +0000)
src/tar.c

index 44bd9b94c5d3c0faea06d798843a115176094081..7f27988481f79039bc0e1a8a47e2420dd3e6ea11 100644 (file)
--- a/src/tar.c
+++ b/src/tar.c
@@ -280,7 +280,7 @@ main(argc, argv)
                break;
        case CMD_NONE:
                msg("you must specify exactly one of the r, c, t, x, or d options\n");
-               fprintf(stderr,"For more information, type ``%s +help''.\n",tar);
+               fprintf(stderr,"For more information, type ``%s --help''.\n",tar);
                exit(EX_ARGSBAD);
        }
        if (f_volno_file)
@@ -616,7 +616,7 @@ options(argc, argv)
 
                case '?':
                badopt:
-                       msg("Unknown option.  Use '%s +help' for a complete list of options.", tar);
+                       msg("Unknown option.  Use '%s --help' for a complete list of options.", tar);
                        exit(EX_ARGSBAD);
 
                }
@@ -973,9 +973,10 @@ addname(name)
                if(chdir_name[0]!='/') {
                        char *path = ck_malloc(PATH_MAX);
 #if defined(__MSDOS__) || defined(USG) || defined(_POSIX_VERSION)
-                       if(!getcwd(path,PATH_MAX))
+                       if(!getcwd(path,PATH_MAX)) {
                                msg("Couldn't get current directory.");
                                exit(EX_SYSTEM);
+                       }
 #else
                        char *getwd();
 
This page took 0.023236 seconds and 4 git commands to generate.