From: Sylvestre Ledru Date: Thu, 15 Aug 2019 09:40:43 +0000 (+0200) Subject: rust-excuses.py: improve a bit the script X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=7f8aa2ced1e014cd8f0655d367e8efbf4169cb6c;p=debcargo-conf.git rust-excuses.py: improve a bit the script --- diff --git a/dev/rust-excuses.py b/dev/rust-excuses.py index d6e3ba087..aa1dd8394 100755 --- a/dev/rust-excuses.py +++ b/dev/rust-excuses.py @@ -7,6 +7,14 @@ import subprocess import sys import yaml +if len(sys.argv) != 3: + print("""Generates dot files to show the migration deps +Usage: %s excuses.dot excuses_arch.dot + +Expects excuses.yaml in the current dir + """ % sys.argv[0]) + sys.exit(0) + print("parsing excuses.yaml...", file=sys.stderr) with open("excuses.yaml") as fp: y = yaml.load(fp)