update flags to be more easily usable
This commit is contained in:
@@ -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.`,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user