diff options
author | Colin Walters <walters@verbum.org> | 2018-04-07 11:40:53 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-04-11 19:11:07 +0000 |
commit | 9d1dacfcc8f95720bc4b42d7ef0da33f0e6b665f (patch) | |
tree | 82b3160d7a10a085628feece69728f936542897c /src/ostree/ot-main.h | |
parent | 5215f24e683d65c354cdbb19767dc615b080900b (diff) | |
download | ostree-9d1dacfcc8f95720bc4b42d7ef0da33f0e6b665f.tar.gz |
bin: Hide `admin instutil` command
Add a "hidden command" flag, and use it for `admin instutil` since
I regret adding it, and people should be using the API.
Prep for adding another hidden command as part of staging deployments.
(Down the line we should investigate deduplicating the recursive
command parsing code)
Closes: #1535
Approved by: jlebon
Diffstat (limited to 'src/ostree/ot-main.h')
-rw-r--r-- | src/ostree/ot-main.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ostree/ot-main.h b/src/ostree/ot-main.h index ac75118c..b1b994b6 100644 --- a/src/ostree/ot-main.h +++ b/src/ostree/ot-main.h @@ -29,7 +29,8 @@ typedef enum { OSTREE_BUILTIN_FLAG_NONE = 0, OSTREE_BUILTIN_FLAG_NO_REPO = 1 << 0, - OSTREE_BUILTIN_FLAG_NO_CHECK = 1 << 1 + OSTREE_BUILTIN_FLAG_NO_CHECK = 1 << 1, + OSTREE_BUILTIN_FLAG_HIDDEN = 1 << 2, } OstreeBuiltinFlags; typedef enum { |