From 9510ac69675ea8d1ddaa4e5061e6fe4c961d1973 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 18 Jun 2017 18:16:51 -0400 Subject: alphabetize action list, usage, manpage --- asp.in | 8 ++++---- man/asp.1.txt | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/asp.in b/asp.in index 6d9e69c..418f8ea 100644 --- a/asp.in +++ b/asp.in @@ -28,20 +28,20 @@ Options: Commands: checkout NAME... Create a mutable git repository for packages difflog NAME Show revision history with diffs + disk-usage Show amount of disk used by locally tracked packages export NAME... Export packages gc Cleanup and optimize the local repository - disk-usage Show amount of disk used by locally tracked packages help Show this help list-all List all known packages list-arches NAME... List architectures for packages list-local List tracked packages list-repos NAME... List repos for packages - ls-files NAME List files for package log NAME Show revision history + ls-files NAME List files for package shortlog NAME Show revision history in short form show NAME [FILE] Show the PKGBUILD or other FILE - update [NAME...] Update packages (update all tracked if none specified) untrack NAME... Remove a package from the local repository + update [NAME...] Update packages (update all tracked if none specified) EOF } @@ -301,8 +301,8 @@ dispatch_action() { list-arches list-local list-repos - ls-files log + ls-files shortlog show untrack diff --git a/man/asp.1.txt b/man/asp.1.txt index 1ab96eb..e615183 100644 --- a/man/asp.1.txt +++ b/man/asp.1.txt @@ -34,6 +34,9 @@ The following commands are understood: *difflog* 'TARGET':: Show the full revision history of the target, with file diffs. +*disk-usage*:: + Report the approximate disk usage for locally tracked packages. + *export* 'TARGET'...:: Dump the build source files for each target into a directory of the target's name in '$PWD'. Targets can be specified simply as 'package' to @@ -45,9 +48,6 @@ The following commands are understood: Perform housekeeping procedures on the local repo, optimizing and compacting the repo to free disk space. -*disk-usage*:: - Report the approximate disk usage for locally tracked packages. - *help*:: Display the command line usage and exit. @@ -63,12 +63,12 @@ The following commands are understood: *list-repos* 'TARGET'...:: List the repositories the given targets exist in. -*ls-files* 'TARGET':: - List source files for the given target. - *log* 'TARGET':: Show the revision history of the target. +*ls-files* 'TARGET':: + List source files for the given target. + *shortlog* 'TARGET':: Show a condensed revision history of the target. @@ -79,17 +79,17 @@ The following commands are understood: specified, the file will be shown at the most recent revision (which may be newer than what is in the repositories). +*untrack* 'TARGET'...:: + Remove a remote tracking branch from the local repository. Disk usage for + the removed package(s) may not be freed until garbage collection has taken + place. + *update* ['TARGET'...]:: For each target, if the package is not known to the local repository, attempt to track it. If the package is tracked, update the package to the newest version. If no targets are provided, all locally known packages will be updated. -*untrack* 'TARGET'...:: - Remove a remote tracking branch from the local repository. Disk usage for - the removed package(s) may not be freed until garbage collection has taken - place. - Options ------- *-a* 'architecture':: -- cgit v1.2.3-54-g00ecf