diff options
| author | Martin Sivak <msivak@redhat.com> | 2008-02-28 16:08:09 +0100 |
|---|---|---|
| committer | Martin Sivak <msivak@redhat.com> | 2008-02-28 16:08:09 +0100 |
| commit | b2c3417bb9704b8afab1a0053f100c252a4c8ed5 (patch) | |
| tree | d62f0b964d488ac081e435f026ffce37ebd404fd /firstaidkit | |
| parent | 70efb5c67c477c8b9a801686878f158b0cbdb262 (diff) | |
| download | firstaidkit-b2c3417bb9704b8afab1a0053f100c252a4c8ed5.tar.gz firstaidkit-b2c3417bb9704b8afab1a0053f100c252a4c8ed5.tar.xz firstaidkit-b2c3417bb9704b8afab1a0053f100c252a4c8ed5.zip | |
Modify the plugins, tasker and cli launcher to provide means to split the flows into diagnostics and fixes.
So when the user launches ./firstaidkit -a it runs only diagnostics. For fixing use ./firstaidkit -a fix
Diffstat (limited to 'firstaidkit')
| -rwxr-xr-x | firstaidkit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firstaidkit b/firstaidkit index bcfca32..32f6d6f 100755 --- a/firstaidkit +++ b/firstaidkit @@ -121,6 +121,10 @@ if __name__=="__main__": Config.operation.mode = "plugin" else: Config.operation.flow = rest[1] + elif Config.operation.mode == "auto": + if len(rest)>0: + Config.operation.mode = "auto-flow" + Config.operation.flow = rest[0] elif Config.operation.mode == "task": Config.operation.plugin = rest[0] Config.operation.task = rest[1] |
