Skip to content

Commit fb67170

Browse files
committed
address copilot comments, clarify text
1 parent 8a2feab commit fb67170

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/cmd/skills/install/install.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func NewCmdInstall(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, ru
137137
enables %[1]sgh skill update%[1]s to detect changes.
138138
139139
Use %[1]s--all%[1]s to install every discovered skill from the repository
140-
without prompting. When run non-interactively, %[1]srepository%[1]s and either
140+
without prompting for skill selection. When run non-interactively, %[1]srepository%[1]s and either
141141
a skill name or %[1]s--all%[1]s are required.
142142
`, "`", registry.AgentHelpList()),
143143
Example: heredoc.Doc(`
@@ -186,7 +186,7 @@ func NewCmdInstall(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, ru
186186
opts.ScopeChanged = cmd.Flags().Changed("scope")
187187

188188
if opts.All && opts.SkillName != "" {
189-
return cmdutil.FlagErrorf("cannot use `--all` with skill name")
189+
return cmdutil.FlagErrorf("cannot use --all with a skill argument")
190190
}
191191

192192
// Resolve the source type early so installRun can branch directly.
@@ -223,7 +223,7 @@ func NewCmdInstall(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, ru
223223
cmdutil.StringEnumFlag(cmd, &opts.Scope, "scope", "", "project", []string{"project", "user"}, "Installation scope")
224224
cmd.Flags().StringVar(&opts.Pin, "pin", "", "Pin to a specific git tag or commit SHA")
225225
cmd.Flags().StringVar(&opts.Dir, "dir", "", "Install to a custom directory (overrides --agent and --scope)")
226-
cmd.Flags().BoolVar(&opts.All, "all", false, "Install all skills without prompting")
226+
cmd.Flags().BoolVar(&opts.All, "all", false, "Install all skills without prompting for skill selection")
227227
cmd.Flags().BoolVarP(&opts.Force, "force", "f", false, "Overwrite existing skills without prompting")
228228
cmd.Flags().BoolVar(&opts.FromLocal, "from-local", false, "Treat the argument as a local directory path instead of a repository")
229229
cmd.Flags().BoolVar(&opts.AllowHiddenDirs, "allow-hidden-dirs", false, "Include skills in hidden directories (e.g. .claude/skills/, .agents/skills/)")

0 commit comments

Comments
 (0)