Compare commits

..

4 Commits

Author SHA1 Message Date
f8075b7bd4 artixpkg: fix more help examples 2023-05-23 21:53:02 +02:00
0912e6f74a artixpkg: update all help 2023-05-22 23:31:01 +02:00
9af4fe14f2 artixpkg: fix repo help examples 2023-05-22 23:25:23 +02:00
943350f4ec artixpkg: fix repo help cmd 2023-05-22 23:17:08 +02:00
7 changed files with 13 additions and 11 deletions

View File

@@ -22,8 +22,9 @@ artixpkg_git_usage() {
EXAMPLES
$ ${COMMAND} clone libfoo linux libbar
$ ${COMMAND} clone --maintainer mynickname
$ ${COMMAND} config *
$ ${COMMAND} clone --maintainer maintainer-mynickname
$ ${COMMAND} config -t libfoo
$ ${COMMAND} config -u libfoo
$ ${COMMAND} create libfoo
_EOF_
}

View File

@@ -16,7 +16,7 @@ artixpkg_git_config_usage() {
OPTIONS
-t, --topic Set the maintainer topic via gitea api
-u, --upstream add upstream arch remote
-u, --upstream Add upstream arch remote
-j, --jobs N Run up to N jobs in parallel (default: $(nproc))
-h, --help Show this help text

View File

@@ -19,7 +19,7 @@ artixpkg_git_create_usage() {
OPTIONS
-c, --clone Clone the Git repository after creation
-t, --team=NAME Clone the Git repository after creation
-t, --team=NAME Assign team name [default: world]
-h, --help Show this help text
EXAMPLES

View File

@@ -8,7 +8,7 @@ ARTOOLS_INCLUDE_REPO_SH=1
set -e
artixpkg_repo_usage() {
local -r COMMAND=${_DEVTOOLS_COMMAND:-${BASH_SOURCE[0]##*/}}
local -r COMMAND=${_ARTOOLS_COMMAND:-${BASH_SOURCE[0]##*/}}
cat <<- _EOF_
Usage: ${COMMAND} [COMMAND] [OPTIONS]
@@ -22,9 +22,10 @@ artixpkg_repo_usage() {
-h, --help Show this help text
EXAMPLES
$ ${COMMAND} add libfoo extra
$ ${COMMAND} remove libfoo extra
$ ${COMMAND} move libfoo extra-testing extra
$ ${COMMAND} add extra libfoo
$ ${COMMAND} remove extra libfoo
$ ${COMMAND} move extra-testing extra libfoo
$ ${COMMAND} import libfoo
_EOF_
}

View File

@@ -24,7 +24,7 @@ artixpkg_repo_add_usage() {
EXAMPLES
$ ${COMMAND} extra-testing libfoo
$ ${COMMAND} -p extra-testing libfoo
$ ${COMMAND} -tp extra-testing libfoo
$ ${COMMAND} -t -p extra-testing libfoo
_EOF_
}

View File

@@ -21,7 +21,7 @@ artixpkg_repo_move_usage() {
EXAMPLES
$ ${COMMAND} extra-testing extra libfoo
$ ${COMMAND} -p extra-testing extra libfoo
$ ${COMMAND} -tp extra-testing extra libfoo
$ ${COMMAND} -t -p extra-testing extra libfoo
_EOF_
}

View File

@@ -21,7 +21,7 @@ artixpkg_repo_remove_usage() {
EXAMPLES
$ ${COMMAND} extra-testing libfoo
$ ${COMMAND} -p extra-testing libfoo
$ ${COMMAND} -tp extra-testing libfoo
$ ${COMMAND} -t -p extra-testing libfoo
_EOF_
}