View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0013095 | Scribus | User Interface | public | 2015-05-28 16:50 | 2015-11-22 13:56 |
| Reporter | Kunda | Assigned To | cbradney | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | Mac | OS | OSX | OS Version | 10.9.5 |
| Product Version | 1.5.1svn | ||||
| Fixed in Version | 1.5.1svn | ||||
| Summary | 0013095: CLI --help needs formatting | ||||
| Description | -py flag listed in --help breaks formatting See screenshot | ||||
| Steps To Reproduce | 1) Start Scribus from CLI 2) run Scribus --help 3) Notice the -py flag breaks formatting | ||||
| Additional Information | Screenshot: https://www.dropbox.com/s/tift46xxwokne25/Screenshot%202015-05-28%2011.46.31.png?dl=0 [^] | ||||
| Tags | patch | ||||
| Attached Files | 0013095_CLI_help_needs_formatting.patch (546 bytes)
diff --git a/scribus/scribusapp.cpp b/scribus/scribusapp.cpp
index 204a8bb..83b24e3 100644
--- a/scribus/scribusapp.cpp
+++ b/scribus/scribusapp.cpp
@@ -478,7 +478,7 @@ static void printArgLine(QTextStream & ts, const char * smallArg,
{
const char* lineformat = " %1, %2 %3";
const int saw = 4; // Short argument width
- const int aw = -18; // Argument width (negative is left aligned)
+ const int aw = -25; // Argument width (negative is left aligned)
QString line = QString(lineformat)
.arg(smallArg, saw)
.arg(fullArg, aw)
| ||||
| Patch | Yes | ||||
|
|
Screenshot: https://www.dropbox.com/s/tift46xxwokne25/Screenshot%202015-05-28%2011.46.31.png?dl=0 |
|
|
Thanks for the patch! |
|
|
Fixed but differently |
|
|
Fantastic! Thanks for the fix in r20220, Craig! Simonaw, Thanks again for the patch. It inspired the fix :) Cheers! |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-05-28 16:50 | Kunda | New Issue | |
| 2015-05-28 16:51 | Kunda | Note Added: 0035281 | |
| 2015-06-01 00:31 | Kunda | Description Updated | |
| 2015-06-01 00:31 | Kunda | Steps to Reproduce Updated | |
| 2015-06-01 00:31 | Kunda | Additional Information Updated | |
| 2015-06-29 02:27 | simonaw | File Added: 0013095_CLI_help_needs_formatting.patch | |
| 2015-06-29 02:27 | simonaw | Tag Attached: patch | |
| 2015-06-29 02:47 | Kunda | Patch | No => Yes |
| 2015-06-29 02:47 | Kunda | Summary | CLI --help needs formatting => [Patch] CLI --help needs formatting |
| 2015-06-29 02:49 | Kunda | Note Added: 0035557 | |
| 2015-06-29 21:25 | cbradney | Note Added: 0035563 | |
| 2015-06-29 21:25 | cbradney | Status | new => resolved |
| 2015-06-29 21:25 | cbradney | Fixed in Version | => 1.5.1svn |
| 2015-06-29 21:25 | cbradney | Resolution | open => fixed |
| 2015-06-29 21:25 | cbradney | Assigned To | => cbradney |
| 2015-06-29 23:50 | Kunda | Note Added: 0035566 | |
| 2015-06-29 23:50 | Kunda | Status | resolved => closed |
| 2015-06-30 16:40 | Kunda | Relationship added | related to 0013190 |
| 2015-11-22 13:56 | jghali | Summary | [Patch] CLI --help needs formatting => CLI --help needs formatting |