• E
    virsh: Do not make interactive mode default · a02de849
    Erik Skultety 提交于
    Currently, we set interactive mode as default possibly reverting the
    setting after we parse the command line arguments. There's nothing
    particulary wrong with that, but a call to vshReadlineInit is performed
    always in the global initializer just because the default mode is interactive.
    Rather than moving vshReadlineInit call somewhere else (because another client
    might want to implement interactive mode only), we could make the decision
    if we're about to run in interactive mode once the command line is parsed.
    a02de849
virsh.c 26.3 KB