Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

-h should be a global flag for --help

Open Beginner friendly
#1,641 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
cli

Research direction

Start at the CLI entry point and global flag handling, using the existing --help behavior as the reference. Test fastly -h alongside fastly --help; done means the short flag displays the same global help text without conflicting with subcommands.

Written by the indexing model from the issue text.

Description

feature request

Is your feature request related to a problem? Please describe.

It's common and conventional for CLI tools to accept -h as a shortcut for invoking --help globally.

But we don't currently support it:

GLOBAL FLAGS
      --help             Show context-sensitive help.
  -d, --accept-defaults  Accept default options for all interactive prompts
                         apart from Yes/No confirmations
  -y, --auto-yes         Answer yes automatically to all Yes/No confirmations.
                         This may suppress security warnings
      --debug-mode       Print API request and response details (NOTE:
                         can disrupt the normal CLI flow output formatting)
      --enable-sso       Enable Single-Sign On (SSO) for current profile
                         execution (see also: 'fastly sso')
  -i, --non-interactive  Do not prompt for user input - suitable for CI
                         processes. Equivalent to --accept-defaults and
                         --auto-yes
  -o, --profile=PROFILE  Switch account profile for single command execution
                         (see also: 'fastly profile switch')
  -q, --quiet            Silence all output except direct command output.
                         This won't prevent interactive prompts (see:
                         --accept-defaults, --auto-yes, --non-interactive)
  -t, --token=TOKEN      Fastly API token (or via FASTLY_API_TOKEN)
  -v, --verbose          Verbose logging

Perhaps there are -h conflicts with subcommands?

Describe the solution you'd like

I'd like fastly -h to work globally as a shortcut for showing help text.

Describe alternatives you've considered

n/a

Additional context

n/a

Dominant language
Go
Stars
164
Forks
80
Avg merge
22h 44m
Merged PRs (30d)
21

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fastly/cli

All issues in fastly/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.