We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a4fd43 + 102cfdb commit 58f6befCopy full SHA for 58f6bef
command/issue.go
@@ -23,7 +23,6 @@ import (
23
func init() {
24
RootCmd.AddCommand(issueCmd)
25
issueCmd.AddCommand(issueStatusCmd)
26
- issueCmd.AddCommand(issueViewCmd)
27
28
issueCmd.AddCommand(issueCreateCmd)
29
issueCreateCmd.Flags().StringP("title", "t", "",
@@ -39,6 +38,7 @@ func init() {
39
38
issueListCmd.Flags().IntP("limit", "L", 30, "Maximum number of issues to fetch")
40
issueListCmd.Flags().StringP("author", "A", "", "Filter by author")
41
+ issueCmd.AddCommand(issueViewCmd)
42
issueViewCmd.Flags().BoolP("preview", "p", false, "Display preview of issue content")
43
}
44
@@ -67,7 +67,7 @@ var issueStatusCmd = &cobra.Command{
67
RunE: issueStatus,
68
69
var issueViewCmd = &cobra.Command{
70
- Use: "view {<number> | <url> | <branch>}",
+ Use: "view {<number> | <url>}",
71
Args: func(cmd *cobra.Command, args []string) error {
72
if len(args) < 1 {
73
return FlagError{errors.New("issue number or URL required as argument")}
0 commit comments