FiloSottile / FiloSottile/torchwood
Reject trailing arguments / missing params?
Open
- Dominant language
- Go
- Stars
- 29
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Just a minor nit: would be nice from a ux perspective if this failed:
```
poc-witness@www:~$ ~/go/bin/witnessctl list-logs ~/.local/share/litewitness/database && echo "hi"
hi
```
(Noticed this when omitting `-db` by mistake.
Contributor guide
Research direction
Start at the witnessctl list-logs command entry point and reproduce the shown invocation, including the omitted -db case. Trace how trailing and missing arguments are handled; done means both invalid forms fail instead of continuing to execute the following shell command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100