From a6c5400db219c1524142bfac1683fa30add53a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 21 Apr 2017 17:20:16 +0200 Subject: [PATCH] Corrected usage text for pack function --- bam/blend/blendfile_pack.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bam/blend/blendfile_pack.py b/bam/blend/blendfile_pack.py index d493452..11cdea5 100755 --- a/bam/blend/blendfile_pack.py +++ b/bam/blend/blendfile_pack.py @@ -580,12 +580,9 @@ def pack( def create_argparse(): import argparse - usage_text = ( - "Run this script to extract blend-files(s) to a destination path:" + - os.path.basename(__file__) + - "--input=FILE --output=FILE [options]") - - parser = argparse.ArgumentParser(description=usage_text) + parser = argparse.ArgumentParser( + description="Run this script to extract blend-files(s) and their dependencies " + "to a destination path.") # for main_render() only, but validate args. parser.add_argument(