summaryrefslogtreecommitdiff
path: root/cli_args.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-07-07 19:54:48 +0200
committerJakob Unterwurzacher2025-07-07 19:59:35 +0200
commit8f5df19b353e02ffba842fd1b15ccf93da7ee3b4 (patch)
tree8f68b74e56a1d20af82e5093a059d180c925f9be /cli_args.go
parentcdb80ea9825d2e876f1cf579bf960e4da7656b4c (diff)
Fix a bunch of staticcheck errors
Tool-assisted.
Diffstat (limited to 'cli_args.go')
-rw-r--r--cli_args.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_args.go b/cli_args.go
index 4101b86..e690e15 100644
--- a/cli_args.go
+++ b/cli_args.go
@@ -84,7 +84,7 @@ func prefixOArgs(osArgs []string) ([]string, error) {
if osArgs[i] == "-o" {
// Last argument?
if i+1 >= len(osArgs) {
- return nil, fmt.Errorf("The \"-o\" option requires an argument")
+ return nil, fmt.Errorf("the \"-o\" option requires an argument")
}
oOpts = strings.Split(osArgs[i+1], ",")
// Skip over the arguments to "-o"