diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 18:35:58 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-07-14 18:38:14 +0200 |
commit | 4e026f790e02e4a15fe32ca10ba400b836833218 (patch) | |
tree | 2f03c6c45bf96ab84afa7c988b99b21fbbe80f41 /firstaidkit | |
parent | 8073465a7b546ca57461647642d7d88a93d7fda2 (diff) | |
download | firstaidkit-4e026f790e02e4a15fe32ca10ba400b836833218.tar.gz firstaidkit-4e026f790e02e4a15fe32ca10ba400b836833218.tar.xz firstaidkit-4e026f790e02e4a15fe32ca10ba400b836833218.zip |
The -f options implies --nodeps.
When the user uses -f he will be calling only one plugin or a subset
of the total plugins. This means that the flags will not get set and
the plugin will not run. This patch fixes this by setting the nodeps
flag. We also modified the help given to the user.
Diffstat (limited to 'firstaidkit')
-rwxr-xr-x | firstaidkit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firstaidkit b/firstaidkit index 616d1c3..5a01892 100755 --- a/firstaidkit +++ b/firstaidkit @@ -121,6 +121,8 @@ def usage(name): %s [params] -a <flow> - runs the automated mode with specified flow %s [params] -a fix - automated fixing sequence [using the fix flows] %s [params] -f <plugin> <flow> + - This implies --nodeps + params is none or more items from: -c <config file> - location of the config file -r <root path> - location of the root directory @@ -172,6 +174,8 @@ if __name__=="__main__": elif key in ("-f", "--flow"): Config.operation.mode = "flow" Flags.main_help = False + # Implies nodeps so the individual plugins can run. + Config.operation.dependencies = "False" elif key in ("-c", "--config"): Config.read(val) |