git » libjio » commit 3bedaae

tests/stress: Remove short options for --fi and --as

author Alberto Bertogli
2009-09-25 00:12:43 UTC
committer Alberto Bertogli
2009-09-25 00:12:43 UTC
parent 3da17d539ddaaa8f89507b38ee2d905b8e6f5af9

tests/stress: Remove short options for --fi and --as

They're not really useful, so don't waste a letter on them.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

tests/stress/jiostress +2 -2

diff --git a/tests/stress/jiostress b/tests/stress/jiostress
index b9a2a4a..542f98f 100755
--- a/tests/stress/jiostress
+++ b/tests/stress/jiostress
@@ -616,10 +616,10 @@ def main():
 	parser.add_option("-n", "--nops", dest = "nops", type = "int",
 		default = 500,
 		help = "number of operations (defaults to %default)")
-	parser.add_option("-f", "--fi", dest = "use_fi",
+	parser.add_option("", "--fi", dest = "use_fi",
 		action = "store_true", default = False,
 		help = "use fault injection (conflicts with --as)")
-	parser.add_option("-a", "--as", dest = "use_as",
+	parser.add_option("", "--as", dest = "use_as",
 		action = "store_true", default = False,
 		help = "use J_LINGER + autosync (conflicts with --fi)")
 	parser.add_option("-p", "--nproc", dest = "nproc", type = "int",