mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
util_path_example: Fix usage message
Document that for the "sysfs" invocation the mount point is optional. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
9cc06a0529
commit
a87268d62e
@@ -90,7 +90,7 @@ static void test_util_path_is_xxx(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* Usage: util_path_example [sysfs mount point] | "is_xxx"
|
||||
* Usage: util_path_example sysfs [MOUNT_POINT] | is_xxx
|
||||
*/
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@@ -111,6 +111,6 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
return EXIT_SUCCESS;
|
||||
out_fail:
|
||||
errx(EXIT_FAILURE, "Usage: %s sysfs <path> | is_xxx", argv[0]);
|
||||
errx(EXIT_FAILURE, "Usage: %s sysfs [MOUNT_POINT] | is_xxx", argv[0]);
|
||||
}
|
||||
//! [code]
|
||||
|
||||
Reference in New Issue
Block a user