[PATCH 7/7] staging: usbip: fix up alignment in long options list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Re-align the option lists.

Signed-Off-By: Anthony Foiani <anthony.foiani@xxxxxxxxx>
---
 drivers/staging/usbip/userspace/src/usbip.c  |  6 +++---
 drivers/staging/usbip/userspace/src/usbipd.c | 10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/usbip/userspace/src/usbip.c b/drivers/staging/usbip/userspace/src/usbip.c
index 728748b..7c351bc 100644
--- a/drivers/staging/usbip/userspace/src/usbip.c
+++ b/drivers/staging/usbip/userspace/src/usbip.c
@@ -139,10 +139,10 @@ static int run_command(const struct command *cmd, int argc, char *argv[])
 int main(int argc, char *argv[])
 {
 	static const struct option opts[] = {
-		{ "debug", no_argument, NULL, 'd' },
-		{ "log",   no_argument, NULL, 'l' },
+		{ "debug", no_argument,       NULL, 'd' },
+		{ "log",   no_argument,       NULL, 'l' },
 		{ "port",  required_argument, NULL, 'p' },
-		{ NULL,    0,           NULL,  0  }
+		{ NULL,    0,                 NULL,  0  }
 	};
 
 	char *cmd;
diff --git a/drivers/staging/usbip/userspace/src/usbipd.c b/drivers/staging/usbip/userspace/src/usbipd.c
index 5224cc8..cf93b46 100644
--- a/drivers/staging/usbip/userspace/src/usbipd.c
+++ b/drivers/staging/usbip/userspace/src/usbipd.c
@@ -557,13 +557,13 @@ static void remove_pid_file(const char *pid_file)
 int main(int argc, char *argv[])
 {
 	static const struct option longopts[] = {
-		{ "daemon",  no_argument, NULL, 'D' },
-		{ "debug",   no_argument, NULL, 'd' },
+		{ "daemon",  no_argument,       NULL, 'D' },
+		{ "debug",   no_argument,       NULL, 'd' },
 		{ "pid",     optional_argument, NULL, 'P' },
 		{ "port",    required_argument, NULL, 'p' },
-		{ "help",    no_argument, NULL, 'h' },
-		{ "version", no_argument, NULL, 'v' },
-		{ NULL,	     0,           NULL,  0  }
+		{ "help",    no_argument,       NULL, 'h' },
+		{ "version", no_argument,       NULL, 'v' },
+		{ NULL,	     0,                 NULL,  0  }
 	};
 
 	enum {
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux