Skip to content

unify --quiet and --query #7276

@IlanCosman

Description

@IlanCosman

Here are the (non-string) commands that use these flags:

--quiet --query
command abbr
jobs builtin
type functions
set

All of these commands use the flag in a similar way, printing no output but setting an exit status. In particular builtin -q, functions -q, command -q, and type -q are nearly identical in their usage, yet are split half and half between --query and --quiet. No command has both flags.

In line with the law of discoverability, the --quiet and --query flags should be merged.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions