mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
9 lines
268 B
Python
Executable File
9 lines
268 B
Python
Executable File
#!/usr/bin/env python3
|
|
import common
|
|
parser = common.get_argparse(
|
|
argparse_args={'description':'https://github.com/cirosantilli/linux-kernel-module-cheat#getvar'}
|
|
)
|
|
parser.add_argument('variable')
|
|
args = common.setup(parser)
|
|
print(getattr(common, args.variable))
|