Blame SOURCES/0001-Add-no-sysfs-option-description-to-h-output.patch

fd304b
From 33b5aafc6ee6b5de9f2526fb1cf4b14d1e16e4f0 Mon Sep 17 00:00:00 2001
fd304b
From: Roy Franz <roy.franz@linaro.org>
fd304b
Date: Thu, 1 Oct 2015 08:41:43 +0200
fd304b
Subject: [PATCH 1/9] Add "--no-sysfs" option description to -h output
fd304b
fd304b
A description of --no-sysfs was not added to the output of "-h" when
fd304b
the feature was added, so add it now.
fd304b
---
fd304b
 CHANGELOG | 4 ++++
fd304b
 dmiopt.c  | 1 +
fd304b
 2 files changed, 5 insertions(+)
fd304b
fd304b
diff --git a/CHANGELOG b/CHANGELOG
fd304b
index f0a51a4..42d815c 100644
fd304b
--- a/CHANGELOG
fd304b
+++ b/CHANGELOG
fd304b
@@ -1,3 +1,7 @@
fd304b
+2015-10-01  Roy Franz  <roy.franz@linaro.org>
fd304b
+
fd304b
+	* dmiopt.c: Add "--no-sysfs" option description to -h output.
fd304b
+
fd304b
 2015-09-03  Jean Delvare  <jdelvare@suse.de>
fd304b
 
fd304b
 	* version.h: Set version to 3.0.
fd304b
diff --git a/dmiopt.c b/dmiopt.c
fd304b
index 0d142d2..de607f4 100644
fd304b
--- a/dmiopt.c
fd304b
+++ b/dmiopt.c
fd304b
@@ -314,6 +314,7 @@ void print_help(void)
fd304b
 		" -u, --dump             Do not decode the entries\n"
fd304b
 		"     --dump-bin FILE    Dump the DMI data to a binary file\n"
fd304b
 		"     --from-dump FILE   Read the DMI data from a binary file\n"
fd304b
+		"     --no-sysfs         Do not attempt to read DMI data from sysfs files\n"
fd304b
 		" -V, --version          Display the version and exit\n";
fd304b
 
fd304b
 	printf("%s", help);
fd304b
-- 
fd304b
2.5.0
fd304b