mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 16:35:33 +02:00
[GH-ISSUE #62] Two hyphen to much on autocompletion #16
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dwydler on GitHub (Nov 22, 2020).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/62
Hello,
i typed adminSudo and press that two times the key. The first parameter is displayed with four hyphen.
@speed47 commented on GitHub (Nov 23, 2020):
adminSudois a bit special, the first double-dash is corrrect, as explained in theadminSudo --helpmessage:This is to ensure the proper options are parsed by the proper stage of execution, because under the hood, you're
sudo'ing to the target user, and executingosh.plagain under their name@speed47 commented on GitHub (Nov 23, 2020):
Took the opportunity to add some smartness to adminSudo's autocompletion rules!
@dwydler commented on GitHub (Nov 23, 2020):
Thanks a lot for the clarification.