forked from artix/artools
		
	Compare commits
	
		
			4 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f8075b7bd4 | |||
| 0912e6f74a | |||
| 9af4fe14f2 | |||
| 943350f4ec | 
@@ -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_
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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_
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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_
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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_
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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_
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user