mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
fix run-toolchain, qemu-monitor, trace-boot, trace2line, bisect-linux-boot-gem5. Fixes part of #63
I'm sad no one reported qemu-monitor break, that one is kind of important. count.out arguments broke it as an init program, since the kernel adds trash parameters to every init. Is anyone using this repo, I wonder? Keep pushing, keep pushing. One day it gets good enough, and the whole world will see.
This commit is contained in:
@@ -114,8 +114,7 @@ class _Argument:
|
||||
|
||||
class CliFunction:
|
||||
'''
|
||||
Represent a function that can be called either from Python code, or
|
||||
from the command line.
|
||||
A function that can be called either from Python code, or from the command line.
|
||||
|
||||
Features:
|
||||
|
||||
@@ -135,6 +134,10 @@ class CliFunction:
|
||||
|
||||
* that decorator API is insane
|
||||
* CLI + Python for single functions was wontfixed: https://github.com/pallets/click/issues/40
|
||||
+
|
||||
Oh, and I commented on that issue pointing to this alternative and they deleted my comment:
|
||||
https://github.com/pallets/click/issues/40#event-2088718624 Lol. It could have been useful
|
||||
for other Googlers and as an implementation reference.
|
||||
'''
|
||||
def __call__(self, **kwargs):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user