mirror of
https://github.com/nix-community/plasma-manager.git
synced 2024-08-17 13:50:22 +03:00
Update number of required arguments in write_config.py error
This commit is contained in:
parent
16012b09e4
commit
7e062fcd66
@ -320,7 +320,7 @@ def write_configs(d: Dict, reset_files: Set, immutable_by_default: bool):
|
|||||||
def main():
|
def main():
|
||||||
if len(sys.argv) != 4:
|
if len(sys.argv) != 4:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Must receive exactly two arguments, got: {len(sys.argv) - 1}"
|
f"Must receive exactly four arguments, got: {len(sys.argv) - 1}"
|
||||||
)
|
)
|
||||||
|
|
||||||
json_path = sys.argv[1]
|
json_path = sys.argv[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user