Improve CLI. Better handle printer margins.

This commit is contained in:
Roman Telezhynskyi 2022-03-19 18:17:23 +02:00
parent 6d77f3ebc0
commit 3a432e06fd
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
- [smart-pattern/valentina#170] Incorrect work with curves.
- Suspend use of qt_ntfs_permission_lookup. QTBUG-101168
- Remove support for russian language.
- Improve CLI. Better handle printer margins.
# Valentina 0.7.50 February 14, 2022
- Fix regression. Minimal seam allowance width is less than the point accuracy values.

View File

@ -128,7 +128,7 @@ VLayoutGeneratorPtr VCommandLine::DefaultGenerator() const
bool a = IsOptionSet(key);
bool b = IsOptionSet(LONG_OPTION_PAGEUNITS);
if ((a || b) && !(a && b))
if (a && !(a && b))
{
qCritical() << message << "\n";
const_cast<VCommandLine*>(this)->parser.showHelp(V_EX_USAGE);