From 87a83d7823a89d88f7fa3aa011467e8273c7c19f Mon Sep 17 00:00:00 2001 From: dan9186 Date: Thu, 9 Apr 2026 19:01:15 -0700 Subject: [PATCH] update more help text --- cmd/config/config.go | 11 ++++++++--- cmd/pull.go | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/cmd/config/config.go b/cmd/config/config.go index b383d31..cda9005 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -16,9 +16,14 @@ var configValidArgs = []string{ } var ConfigCmd = &cobra.Command{ - Use: "config [config_field] [value]", - Short: "Configure align settings", - Long: `Get or set align configuration values.`, + Use: "config ", + Short: "Set align configuration values", + Long: `Set align configuration values in ~/.align/config. + +Valid fields: + + github.limits.burst burstable rate for the GitHub client (default: 25) + github.limits.requests_per_second maximum requests per second for the GitHub client (default: 10)`, Args: cobra.ExactArgs(2), Run: configFunc, ValidArgs: configValidArgs, diff --git a/cmd/pull.go b/cmd/pull.go index cd244f8..2936e6f 100644 --- a/cmd/pull.go +++ b/cmd/pull.go @@ -23,7 +23,7 @@ func init() { } var pullCmd = &cobra.Command{ - Use: "pull", + Use: "pull [ []]", Short: "Pull all repos in a directory", Long: `Fetch and integrate remote changes across all repos in a directory.`, PersistentPreRun: setupClient,