scripts: replace deprecated --no with --no-string-type

--no only works today via argparse abbreviation of --no-string-type. The
PR's planned --no-section/--no-structure/--no-tag flags will make --no an
ambiguous prefix and break these call sites. Use the canonical spelling.
This commit is contained in:
lakshit verma 2026-08-13 16:30:01 +05:30
parent 3cb79bb8b8
commit 716e1fda1e
No known key found for this signature in database
GPG key ID: EB498AFC60A7A01A
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ def main():
"-m",
"floss.main",
str(file_path),
"--no",
"--no-string-type",
"stack",
"tight",
"decoded",

View file

@ -46,7 +46,7 @@ def run_program(script_path: Path, args):
@lru_cache()
def get_results_file_path():
res_path = Path("results.json")
p = run_program(Path("floss/main.py"), ["--no", "static", "-j", str(get_file_path())])
p = run_program(Path("floss/main.py"), ["--no-string-type", "static", "-j", str(get_file_path())])
with res_path.open("w") as f:
f.write(p.stdout.decode("utf-8"))
return str(res_path)