From 207253abc6ec81112abf0a64a8bf68e227528d64 Mon Sep 17 00:00:00 2001 From: Simon John Date: Tue, 4 Aug 2020 23:19:49 +0100 Subject: Rebased python3 branch with some changes from tuna-f1sh@87d5241 --- bin/ardmk-init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ardmk-init') diff --git a/bin/ardmk-init b/bin/ardmk-init index 51b12f0..604ba02 100755 --- a/bin/ardmk-init +++ b/bin/ardmk-init @@ -1,4 +1,5 @@ #!/usr/bin/env python + """ Arduino-mk Makefile and project initialiser @@ -17,7 +18,6 @@ Example: See `armk-init --help` for CLI arguments """ -from __future__ import print_function import os import argparse @@ -54,7 +54,7 @@ PARSER.add_argument('--cli', action='store_true', help='run with user prompts (r PARSER.add_argument('-P', '--project', action='store_true', help='create boilerplate project with src, lib and bin folder structure') PARSER.add_argument('-t', '--template', action='store_true', - help='create bare minimum Arduino source file') + help='create bare minimum Arduino source file') PARSER.add_argument('-V', '--version', action='version', version='%(prog)s '+ VERSION) ARGS = PARSER.parse_args() -- cgit v1.2.3 From 5f5a68aa315e691f2eec64dcb749558c1132fac5 Mon Sep 17 00:00:00 2001 From: Simon John Date: Tue, 4 Aug 2020 23:49:32 +0100 Subject: Replaced env with python3 shebang --- bin/ardmk-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ardmk-init') diff --git a/bin/ardmk-init b/bin/ardmk-init index 604ba02..11d1126 100755 --- a/bin/ardmk-init +++ b/bin/ardmk-init @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Arduino-mk Makefile and project initialiser -- cgit v1.2.3