diff --git a/README.md b/README.md index 2819f0f..b5d940e 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ go install github.com/onyx-and-iris/ignr@latest - --token/-t: GitHub authentication token - note, this tool can be used **without** authenticating but rate limiting will be stricter. -- --height/-H: Height of the selection prompt (default 20) +- --height/-H: Height of the selection prompt (default 10) - --filter/-f: Type of filter to apply to the list of templates (default startswith) - may be one of (startswith, contains) @@ -30,7 +30,7 @@ go install github.com/onyx-and-iris/ignr@latest #!/usr/bin/env bash export IGNR_TOKEN= -export IGNR_HEIGHT=20 +export IGNR_HEIGHT=10 export IGNR_FILTER=startswith ``` diff --git a/main.go b/main.go index 6fbb146..d16291c 100644 --- a/main.go +++ b/main.go @@ -54,7 +54,7 @@ You may also list available templates and generate .gitignore files based on tho // init initialises the root command and its flags. func init() { rootCmd.PersistentFlags().StringP("token", "t", "", "GitHub authentication token") - rootCmd.PersistentFlags().IntP("height", "H", 20, "Height of the selection prompt") + rootCmd.PersistentFlags().IntP("height", "H", 10, "Height of the selection prompt") rootCmd.PersistentFlags(). StringP("filter", "f", "startswith", "Type of filter to apply to the list of templates (e.g., 'startswith', 'contains')")