Skip to content

Why do you start adding -- (double dash) to the compgen command? #2

Description

@amir-mehler-via

Ok, I read about it a bit now and I understand: https://unix.stackexchange.com/questions/11376/what-does-double-dash-mean-also-known-as-bare-double-dash

It's there to signify we've finished listing the options and will now only add the prefix of the completion.

I don't know if you'd want to add a comment about it in the text.

Anyway Great Tutorial!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions