Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 94117
Collapse All | Expand All

(-)equery.b (-2 / +10 lines)
Lines 1519-1530 Link Here
1519
		if x in Short_commands.keys():
1519
		if x in Short_commands.keys():
1520
			return Short_commands[x]
1520
			return Short_commands[x]
1521
		return x
1521
		return x
1522
	
1523
	def strip(x):
1524
		if x[:2] == "--":
1525
			return x[2:]
1526
		elif x[:1] == "-":
1527
			return x[1:]
1528
		else:
1529
			return x
1522
		
1530
		
1523
	for i in xrange(len(args)):
1531
	for i in xrange(len(args)):
1524
		x = args[i]
1532
		x = strip(args[i])
1525
		if 0:
1533
		if 0:
1526
			pass
1534
			pass
1527
		elif x in ["-h", "--help"]:
1535
		elif x in ["-h", "--help", "h"]:
1528
			showhelp = True
1536
			showhelp = True
1529
		elif x in ["-V", "--version"]:
1537
		elif x in ["-V", "--version"]:
1530
			printVersion()
1538
			printVersion()

Return to bug 94117