Blame SOURCES/0002-boom.command-remove-duplicate-host-profile-argument.patch

5ff2c9
 boom/_boom.py   | 2 +-
5ff2c9
 boom/command.py | 4 +---
5ff2c9
 2 files changed, 2 insertions(+), 4 deletions(-)
5ff2c9
5ff2c9
diff --git a/boom/_boom.py b/boom/_boom.py
5ff2c9
index 4a84b78..d8fff54 100644
5ff2c9
--- a/boom/_boom.py
5ff2c9
+++ b/boom/_boom.py
5ff2c9
@@ -629,7 +629,7 @@ class Selection(object):
5ff2c9
                       os_version_id=args.os_version_id,
5ff2c9
                       os_options=args.os_options,
5ff2c9
                       os_uname_pattern=args.uname_pattern,
5ff2c9
-                      host_id=args.host_profile)
5ff2c9
+                      host_id=args.host_id)
5ff2c9
 
5ff2c9
         _log_debug("Initialised %s from arguments" % repr(s))
5ff2c9
         return s
5ff2c9
diff --git a/boom/command.py b/boom/command.py
5ff2c9
index 487b9bd..5a50f98 100644
5ff2c9
--- a/boom/command.py
5ff2c9
+++ b/boom/command.py
5ff2c9
@@ -2787,9 +2787,7 @@ def main(args):
5ff2c9
                         help="Take os-release values from the running host",
5ff2c9
                         action="store_true")
5ff2c9
     parser.add_argument("-P", "--host-profile", metavar="PROFILE", type=str,
5ff2c9
-                        help="A boom host profile identifier")
5ff2c9
-    parser.add_argument("--host-id", metavar="HOSTID", type=str,
5ff2c9
-                        help="A host profile identifier")
5ff2c9
+                        help="A boom host profile identifier", dest="host_id")
5ff2c9
     parser.add_argument("--host-name", metavar="HOSTNAME", type=str,
5ff2c9
                         help="The host name associated with a host profile")
5ff2c9
     parser.add_argument("-i", "--initrd", metavar="IMG", type=str,