Sort cli args
This commit is contained in:
parent
5ffa1868e3
commit
3cb7a7ab80
1 changed files with 2 additions and 0 deletions
|
@ -444,6 +444,8 @@ class Schema:
|
|||
elif baseSchema.extras:
|
||||
raise ValueError("Only one extra argument is allowed")
|
||||
|
||||
s.args = sorted(s.args, key=lambda f: f.longName)
|
||||
|
||||
return s
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue