summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-remote.c
diff options
context:
space:
mode:
authorDan Nicholson <dbn@endlessos.org>2021-08-23 11:09:24 -0600
committerDan Nicholson <dbn@endlessos.org>2021-08-23 15:30:31 -0600
commit58a683f8f0a14d19d15e3b5521b9fbcc6c04a9a1 (patch)
tree13e9699f02fe4c2132e9024ff80764be30a5c8bf /src/ostree/ot-builtin-remote.c
parent452611e4a862bf7df567e4c55790a1ce7d9cf4ef (diff)
downloadostree-58a683f8f0a14d19d15e3b5521b9fbcc6c04a9a1.tar.gz
bin/remote: Rename list-gpg-keys to gpg-list-keys
As pointed out in the original review, `gpg-list-keys` fits better alongside the existing `gpg-import`. Changes were done with: ``` git grep -l list-gpg-keys | xargs sed -i 's/list-gpg-keys/gpg-list-keys/' for src in $(git ls-files '*list-gpg-keys*'); do dst=${src/list-gpg-keys/gpg-list-keys} git mv "$src" "$dst" done ```
Diffstat (limited to 'src/ostree/ot-builtin-remote.c')
-rw-r--r--src/ostree/ot-builtin-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-remote.c b/src/ostree/ot-builtin-remote.c
index 7028eacc..3c0d9d2e 100644
--- a/src/ostree/ot-builtin-remote.c
+++ b/src/ostree/ot-builtin-remote.c
@@ -44,7 +44,7 @@ static OstreeCommand remote_subcommands[] = {
{ "gpg-import", OSTREE_BUILTIN_FLAG_NONE,
ot_remote_builtin_gpg_import,
"Import GPG keys" },
- { "list-gpg-keys", OSTREE_BUILTIN_FLAG_NONE,
+ { "gpg-list-keys", OSTREE_BUILTIN_FLAG_NONE,
ot_remote_builtin_list_gpg_keys,
"Show remote GPG keys" },
#endif /* OSTREE_DISABLE_GPGME */