SHA256
1
0
forked from pool/dmidecode
dmidecode/dmidecode-01-add-no-sysfs-option-description-to-h-output.patch

23 lines
881 B
Diff
Raw Normal View History

From: Roy Franz <roy.franz@linaro.org>
Date: Thu, 1 Oct 2015 08:41:43 +0200
Subject: Add "--no-sysfs" option description to -h output
Git-commit: 33b5aafc6ee6b5de9f2526fb1cf4b14d1e16e4f0
A description of --no-sysfs was not added to the output of "-h" when
the feature was added, so add it now.
---
dmiopt.c | 1 +
1 file changed, 1 insertion(+)
--- dmidecode-3.0.orig/dmiopt.c 2016-05-03 16:05:03.135840902 +0200
+++ dmidecode-3.0/dmiopt.c 2016-05-03 16:05:04.199850803 +0200
@@ -314,6 +314,7 @@ void print_help(void)
" -u, --dump Do not decode the entries\n"
" --dump-bin FILE Dump the DMI data to a binary file\n"
" --from-dump FILE Read the DMI data from a binary file\n"
+ " --no-sysfs Do not attempt to read DMI data from sysfs files\n"
" -V, --version Display the version and exit\n";
printf("%s", help);