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

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