all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 097c61e291f351c2acbb3382debff2b26131e680 1187 bytes (raw)
name: gnu/packages/patches/teensy-loader-cli-usage.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
--- b/teensy_loader_cli.c.orig	2016-04-07 02:05:41.000000000 +0200
+++ a/teensy_loader_cli.c	2016-05-29 14:32:44.861930222 +0200
@@ -37,14 +37,15 @@
 {
 	if(err != NULL) fprintf(stderr, "%s\n\n", err);
 	fprintf(stderr,
-		"Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n] [-b] [-v] <file.hex>\n"
+		"Usage: teensy-loader-cli --mcu=<MCU> [-h] [-w] [-n] [-b] [-v] <file.hex>\n"
+		"\t-h : Print this help message\n"
 		"\t-w : Wait for device to appear\n"
 		"\t-r : Use hard reboot if device not online\n"
 		"\t-s : Use soft reboot if device not online (Teensy3.x only)\n"
 		"\t-n : No reboot after programming\n"
 		"\t-b : Boot only, do not program\n"
 		"\t-v : Verbose output\n"
-		"\nUse `teensy_loader_cli --list-mcus` to list supported MCUs.\n"
+		"\nUse `teensy-loader-cli --list-mcus` to list supported MCUs.\n"
 		"\nFor more information, please visit:\n"
 		"http://www.pjrc.com/teensy/loader_cli.html\n");
 	exit(1);
@@ -1081,6 +1082,7 @@
 	int i;
 	for(i=1; arg[i]; i++) {
 		switch(arg[i]) {
+			case 'h': usage(NULL); break;
 			case 'w': wait_for_device_to_appear = 1; break;
 			case 'r': hard_reboot_device = 1; break;
 			case 's': soft_reboot_device = 1; break;

debug log:

solving 097c61e ...
found 097c61e in https://yhetil.org/guix/1464543310-24467-1-git-send-email-h.goebel@crazy-compilers.com/ ||
	https://yhetil.org/guix/1464863708-18392-2-git-send-email-h.goebel@crazy-compilers.com/ ||
	https://yhetil.org/guix/1464863708-18392-1-git-send-email-h.goebel@crazy-compilers.com/ ||
	https://yhetil.org/guix/1464859074-12947-1-git-send-email-h.goebel@crazy-compilers.com/

applying [1/1] https://yhetil.org/guix/1464543310-24467-1-git-send-email-h.goebel@crazy-compilers.com/
diff --git a/gnu/packages/patches/teensy-loader-cli-usage.patch b/gnu/packages/patches/teensy-loader-cli-usage.patch
new file mode 100644
index 0000000..097c61e

1:11: space before tab in indent.
 	if(err != NULL) fprintf(stderr, "%s\n\n", err);
1:12: space before tab in indent.
 	fprintf(stderr,
1:16: space before tab in indent.
 		"\t-w : Wait for device to appear\n"
1:17: space before tab in indent.
 		"\t-r : Use hard reboot if device not online\n"
1:18: space before tab in indent.
 		"\t-s : Use soft reboot if device not online (Teensy3.x only)\n"
Checking patch gnu/packages/patches/teensy-loader-cli-usage.patch...
Applied patch gnu/packages/patches/teensy-loader-cli-usage.patch cleanly.
warning: squelched 12 whitespace errors
warning: 17 lines add whitespace errors.

skipping https://yhetil.org/guix/1464863708-18392-2-git-send-email-h.goebel@crazy-compilers.com/ for 097c61e
skipping https://yhetil.org/guix/1464863708-18392-1-git-send-email-h.goebel@crazy-compilers.com/ for 097c61e
skipping https://yhetil.org/guix/1464859074-12947-1-git-send-email-h.goebel@crazy-compilers.com/ for 097c61e
index at:
100644 097c61e291f351c2acbb3382debff2b26131e680	gnu/packages/patches/teensy-loader-cli-usage.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.