Output error if called with an argument

master
Mike Gerber 10 years ago
parent 08d16574fc
commit 4ec097526d

@ -78,6 +78,10 @@ def clean_kernel_version(version):
def main():
if len(sys.argv) > 1:
print('This plugin no longer takes the expected kernel version as an argument')
sys.exit(3)
running = running_kernel_version()
installed = installed_kernel_version()

Loading…
Cancel
Save