diff options
| author | nytpu <alex@nytpu.com> | 2021-03-18 10:53:51 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-03-18 10:53:51 -0600 |
| commit | b0cbb4e380617a84fd560637bd81a2ee59303dc2 (patch) | |
| tree | fcfd6933759ff49e9aaf7247ac9b862760c51ae2 /flags.go | |
| parent | c145f8d4d230907bf4dd2e0494190bc22ee5d22f (diff) | |
update flags to be more easily usable
Diffstat (limited to 'flags.go')
| -rw-r--r-- | flags.go | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -39,11 +39,9 @@ var commands = map[string]*flag.FlagSet{ // set up various flags for each individual command var ( // add - addTypeFlag = commands["add"].StringP( - "type", "t", // long and shorthand flag - "g", // default - `Select which type a subscription is. Can be "g" for a -Gemini feed; "a" for Atom, RSS, & JSON; or "c" to watch -the page for changes.`, + addTypeFlag = commands["add"].BoolP( + "watch", "w", // long and shorthand flag + false, // default + `Watch a page instead of adding it as a feed.`, ) ) |
