作者pochih ()
看板EE_DSnP
标题[问题] Extra option与Illegal option的差别
时间Sat Nov 17 21:44:54 2012
根据老师给的ref档的测试结果
mtest> mtd -a -i 1 2
Illegal option!! (2)
mtest> mtd -a -i 1 -r
Extra option!! (-r)
请问判断Illegal option与Extra option两者差异的准则是?
爬文看到老师之前说error output有些微的不同,是不是不会扣分?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.167.80.131
1F:→ yan12125:mtd -a -i 1 -s也是Illegal option,我猜是-r被特别考虑 11/17 22:08
2F:推 ric2k1:因为 -random 以及 -index 只能有一个, 所以已经有 -i 之後 11/17 22:15
3F:→ ric2k1:-r 就变成 Extra option 了。 11/17 22:15