group: Added --list option
Seemed to make sense to exclude groups used only by dead repositories.
This commit is contained in:
parent
09a0552489
commit
98762a2f96
4 changed files with 46 additions and 12 deletions
|
@ -12,8 +12,8 @@ improvements on querying in this area.
|
|||
its preferred content expression, as well as any groupwanted expression,
|
||||
and the standard preferred content expression.
|
||||
|
||||
There could be a command that just outputs a list of groups, one per line.
|
||||
Maybe `git-annex group --list`
|
||||
There could be a command that just outputs a list of groups.
|
||||
Maybe `git-annex group --list` (update: implemented this)
|
||||
|
||||
Then you could get your dump of the groupwanted configurations for each
|
||||
group:
|
||||
|
|
|
@ -8,7 +8,7 @@ git annex group `repository [groupname]`
|
|||
|
||||
# DESCRIPTION
|
||||
|
||||
Adds a repository to a group, such as "archival", "enduser", or "transfer".
|
||||
Adds a repository to a group, such as "archive" or "transfer".
|
||||
The groupname must be a single word.
|
||||
|
||||
Omit the groupname to show the current groups that a repository is in.
|
||||
|
@ -20,7 +20,11 @@ A repository can be in multiple groups at the same time.
|
|||
|
||||
# OPTIONS
|
||||
|
||||
* The [[git-annex-common-options]](1) can be used.
|
||||
* `--list`
|
||||
|
||||
Outputs a list of all groups that are used by at least one repository.
|
||||
|
||||
* Also the [[git-annex-common-options]](1) can be used.
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue