Commit ce40bc4
committed
Converted edit command to an @options command for the better argument parsing related to spaces and quotes
The recent change of edit to allow spaces means that it can benefit from the better argument parsing cmd2 has for commands implemented using the @options decorator.1 parent eae9157 commit ce40bc4
2 files changed
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1589 | 1589 | | |
1590 | 1590 | | |
1591 | 1591 | | |
1592 | | - | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
| 1592 | + | |
1597 | 1593 | | |
1598 | | - | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
1599 | 1597 | | |
1600 | 1598 | | |
1601 | 1599 | | |
| |||
1605 | 1603 | | |
1606 | 1604 | | |
1607 | 1605 | | |
1608 | | - | |
| 1606 | + | |
| 1607 | + | |
1609 | 1608 | | |
1610 | 1609 | | |
1611 | 1610 | | |
1612 | | - | |
| 1611 | + | |
1613 | 1612 | | |
1614 | | - | |
| 1613 | + | |
1615 | 1614 | | |
1616 | | - | |
| 1615 | + | |
1617 | 1616 | | |
1618 | 1617 | | |
1619 | 1618 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
| 754 | + | |
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| |||
0 commit comments