We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba033be commit 84e4b84Copy full SHA for 84e4b84
src/readlink.py
@@ -107,6 +107,9 @@ def readlink(opts, paths: list[Path]):
107
108
opts, args = parser.parse_args()
109
110
+ if not args:
111
+ parser.error("missing operand")
112
+
113
if opts.no_newline and len(args) > 1:
114
print("ignoring --no-newline with multiple arguments", file=sys.stderr)
115
opts.no_newline = False
0 commit comments