diff options
Diffstat (limited to 'src/bin/tq.rs')
-rw-r--r-- | src/bin/tq.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/tq.rs b/src/bin/tq.rs index 14459d6..71eec20 100644 --- a/src/bin/tq.rs +++ b/src/bin/tq.rs @@ -10,7 +10,7 @@ fn main() { let mut args = Switchboard::from_env(); args.positional("source"); args.positional("destination"); - args.positional("extension").default("tq"); + args.named("extension").default("tq"); args.named("no-libs"); args.named("no-project-libs"); args.named("no-env-libs"); @@ -55,9 +55,9 @@ Torque multi-assembler, see http://benbridle.com/torque for documentation. Arguments: [source] Path to a source file to assemble [destination] Path to which output will be written - [extension] File extension to identify library files (default is 'tq') Switches: + --extension=<ext> File extension to identify library files (default is 'tq') --format=<fmt> Format to apply to assembled bytecode (default is 'debug') --width=<width> Force a fixed width for all assembled words --no-project-libs Don't search for libraries in the source parent folder |