diff options
author | David Teigland <teigland@redhat.com> | 2017-02-14 10:16:13 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-02-14 10:16:13 -0600 |
commit | c0f2a59993e373781c6dd5568cd559547cfe49a1 (patch) | |
tree | ad8e7bf2a1c98dd02b8cb46101f4d9b6c191c253 /tools/lvmcmdlib.c | |
parent | f46b28bdb6f8c0f7bae7a8b4fb4b886332831318 (diff) | |
download | lvm2-c0f2a59993e373781c6dd5568cd559547cfe49a1.tar.gz |
commands: skip parsing command defs for other command names
The base command name can be used to skip parsing
command defs that will not be needed.
Diffstat (limited to 'tools/lvmcmdlib.c')
-rw-r--r-- | tools/lvmcmdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvmcmdlib.c b/tools/lvmcmdlib.c index a1e938bdb..9e50343a4 100644 --- a/tools/lvmcmdlib.c +++ b/tools/lvmcmdlib.c @@ -34,7 +34,7 @@ void *cmdlib_lvm2_init(unsigned static_compile) if (!(cmd = init_lvm(1, 1))) return NULL; - lvm_register_commands(); + lvm_register_commands(NULL); return (void *) cmd; } |