summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorDan Nicholson <nicholson@endlessm.com>2017-09-12 17:05:08 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2019-02-08 14:36:41 +0000
commitb33a4e9b1e5df8c4126dedb9f24f66ee0b1d7ad5 (patch)
treeb6bc48cd601207ff9d7e9f97e759c183a9868d27 /bash
parent8431bb54066ae8ab677ba95ed7c016eb9bc03230 (diff)
downloadostree-b33a4e9b1e5df8c4126dedb9f24f66ee0b1d7ad5.tar.gz
remote-add: Add --force option to add or replace remote
This uses the OSTREE_REPO_REMOTE_CHANGE_REPLACE operation to add a remote or replace an existing one. This is roughly the opposite of --if-not-exists and will raise an error if both options are passed. Closes: #1166 Approved by: cgwalters
Diffstat (limited to 'bash')
-rw-r--r--bash/ostree1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/ostree b/bash/ostree
index 52b111ec..5ba3d475 100644
--- a/bash/ostree
+++ b/bash/ostree
@@ -985,6 +985,7 @@ _ostree_remote_add() {
local boolean_options="
$main_boolean_options
--if-not-exists
+ --force
--no-gpg-verify
"