Browse Source

put in an actual error message for umask

adam j hartz 1 year ago
parent
commit
7790f8d230
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      takoshell/coreutils/_umask.py

+ 1
- 1
takoshell/coreutils/_umask.py View File

@@ -167,7 +167,7 @@ def umask(args, stdin, stdout, stderr):
167 167
                     try:
168 168
                         cur = single_symbolic_arg(subarg, cur)
169 169
                     except:
170
-                        print('OOPS!', file=stderr)
170
+                        print('error: could not parse argument: %r' % subarg, file=stderr)
171 171
                         return 1
172 172
                 cur = invert(cur)
173 173
             os.umask(cur)

Loading…
Cancel
Save