diff options
| author | Fuwn <[email protected]> | 2024-10-13 01:16:18 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-13 01:16:18 -0700 |
| commit | 511e0737cbf739941d28083dd0709e71add9511b (patch) | |
| tree | 46e655c2c6fc59b45d4a2597ff665af540c32af2 | |
| parent | 4353451af2a6edeeca75f5a87186d40d5e81159a (diff) | |
| download | yae-511e0737cbf739941d28083dd0709e71add9511b.tar.xz yae-511e0737cbf739941d28083dd0709e71add9511b.zip | |
feat(yae): add args usage to drop
| -rw-r--r-- | yae.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -79,10 +79,11 @@ func main() { Action: commands.Add(&sources), }, { - Name: "drop", - Args: true, - Usage: "Drop a source", - Action: commands.Drop(&sources), + Name: "drop", + ArgsUsage: "<name>", + Args: true, + Usage: "Drop a source", + Action: commands.Drop(&sources), }, { Name: "update", |