Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/completion/bash
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-09-02 12:31:12 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-11-26 18:23:17 +0100
commit9a356eae828ce0e75d49e3efdb42bac089eb528a (patch)
tree5001c1bd9bff0e4cff2e10d31e9ab56242f9a537 /contrib/completion/bash
parentae14c246b800139e3a8f5589fb8fe12aaeab6a76 (diff)
feat(web): implement option to print the URL instead of opening it
In certain situations, users may encounter limitations when unable to utilize xdg-open (e.g., when connected to an Arch machine via SSH). Consequently, this commit introduces the option to simply print the repository link to copy or click on it. Signed-off-by: Christian Heusel <christian@heusel.eu> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'contrib/completion/bash')
-rw-r--r--contrib/completion/bash/devtools.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/bash/devtools.in b/contrib/completion/bash/devtools.in
index 78f0741..83264ce 100644
--- a/contrib/completion/bash/devtools.in
+++ b/contrib/completion/bash/devtools.in
@@ -325,6 +325,7 @@ _pkgctl_repo_switch_opts() {
_pkgctl_repo_web_args=(
+ --print
-h --help
)
_pkgctl_repo_web_opts() { _filedir -d; }