update flags to be more easily usable

This commit is contained in:
nytpu
2021-03-18 10:53:51 -06:00
parent c145f8d4d2
commit b0cbb4e380
2 changed files with 12 additions and 14 deletions
+4 -6
View File
@@ -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.`,
)
)