From 82b370a5f3d58c028af919c8a83e89269973edcc Mon Sep 17 00:00:00 2001 From: "Vladimir N. Korotenko" Date: Wed, 26 Nov 2025 14:29:54 +0300 Subject: [PATCH] =?UTF-8?q?close=20#17=20=D0=BF=D1=80=D0=B8=D0=B2=D0=B5?= =?UTF-8?q?=D0=BB=20=D0=B2=20=D1=81=D0=BE=D0=BE=D1=82=D0=B2=D0=B5=D1=82?= =?UTF-8?q?=D1=81=D1=82=D0=B2=D0=B8=D0=B5=20=D1=81=20=D0=BE=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=B0=D0=BD=D0=B8=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dm-cli/Deals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dm-cli/Deals.cpp b/dm-cli/Deals.cpp index 1d9da3f..fe21a17 100644 --- a/dm-cli/Deals.cpp +++ b/dm-cli/Deals.cpp @@ -306,9 +306,9 @@ int Deals::Complite() string positive = "Positive"; int refund = 0; - if (parser.cmdOptionExists("-p") || parser.cmdOptionExists("--positive")) + if (parser.cmdOptionExists("-n") || parser.cmdOptionExists("--negative")) { - positive = GetVal("-p", "--positive"); + positive = "Negative"; } if (parser.cmdOptionExists("--refund")) {