Skip to content

Commit

Permalink
typo, fixed subcommand flags assigned to get command
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticrabbit committed Nov 2, 2021
1 parent 2537c40 commit 0af96f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ var taskCmd = &cobra.Command{
func init() {
getCmd.AddCommand(taskCmd)

getCmd.Flags().StringP("taskid", "i", "", "Clickup task ID to get")
getCmd.Flags().BoolP("file", "f", false, "output to file <taskID>.json")
taskCmd.Flags().StringP("taskid", "i", "", "Clickup task ID to get")
taskCmd.Flags().BoolP("file", "f", false, "output to file clickup_<taskID>.json")
}

0 comments on commit 0af96f1

Please sign in to comment.