diff --git a/cmd/skillshare/main.go b/cmd/skillshare/main.go index f356eaeea..671d406ed 100644 --- a/cmd/skillshare/main.go +++ b/cmd/skillshare/main.go @@ -242,8 +242,19 @@ func printUsage() { {"trash", "Restore something you uninstalled"}, {"log", "See what ran"}, }}, - helpGroup{title: "Git", rows: []helpRow{{"commit · push · pull", ""}}}, - helpGroup{title: "CLI", rows: []helpRow{{"upgrade · updates · hub · tui · completion · version", ""}}}, + helpGroup{title: "Git", rows: []helpRow{ + {"commit", "Commit source changes without pushing"}, + {"push", "Commit and push the source to its remote"}, + {"pull", "Pull the source and sync every Target"}, + }}, + helpGroup{title: "CLI", rows: []helpRow{ + {"upgrade", "Upgrade the CLI and the built-in skill"}, + {"updates", "Turn automatic update checks on or off"}, + {"hub", "Manage saved hubs for search"}, + {"tui", "Turn the full-screen UI on or off"}, + {"completion", "Generate shell completion scripts"}, + {"version", "Show the installed version"}, + }}, helpGroup{title: "Common options", rows: []helpRow{ {"-p, --project", "Use this project's config"}, {"-g, --global", "Use the global config"}, diff --git a/tests/integration/help_test.go b/tests/integration/help_test.go index a210824b2..4d23148cd 100644 --- a/tests/integration/help_test.go +++ b/tests/integration/help_test.go @@ -17,6 +17,7 @@ func TestHelp_ShowsUsage(t *testing.T) { result.AssertOutputContains(t, "skillshare") result.AssertOutputContains(t, "Skills and agents") result.AssertOutputContains(t, "Common options") + result.AssertOutputContains(t, "Pull the source and sync every Target") } func TestHelp_ShortFlag(t *testing.T) {