Output error if called with an argument
This commit is contained in:
parent
08d16574fc
commit
4ec097526d
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue