diff options
author | Simon McVittie <smcv@collabora.com> | 2021-06-24 10:02:01 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-06-24 11:13:09 +0100 |
commit | 1aca4e1da6a2fd845340c16797c0ee229e97a0c0 (patch) | |
tree | 4b89d73bde5f6a6600f9b64821017bebf22b94a4 | |
parent | c55fe29608f77b0e46993d46288f28d80ea140e8 (diff) | |
download | bubblewrap-1aca4e1da6a2fd845340c16797c0ee229e97a0c0.tar.gz |
bash: Sort completions in LC_ALL=C order
Where the order doesn't matter, a deterministic order minimizes
conflicts.
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | completions/bash/bwrap | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/completions/bash/bwrap b/completions/bash/bwrap index b03316a..4ca0c26 100644 --- a/completions/bash/bwrap +++ b/completions/bash/bwrap @@ -7,23 +7,25 @@ _bwrap() { local cur prev words cword _init_completion || return + # Please keep sorted in LC_ALL=C order local boolean_options=" --as-pid-1 --clearenv --help --new-session + --unshare-all --unshare-cgroup --unshare-cgroup-try - --unshare-user - --unshare-user-try - --unshare-all --unshare-ipc --unshare-net --unshare-pid + --unshare-user + --unshare-user-try --unshare-uts --version " + # Please keep sorted in LC_ALL=C order local options_with_args=" $boolean_optons --args |