Archived issue #0031714

Draw Harness - print command name with intense within help output

Open CASCADEOCCT:DRAWclosed6 public notes

Search issues

Description

It is proposed printing command name within help output with intense to make it more distinguishable.

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue Aug 18 10:10:50 2020 +0300

    0031714: Draw Harness - print command name with intense within help output
    
    Added command "dputs" similar to "puts" but with extra arguments modifying text color/intensity.
    Command "help" now prints the name of command with intense style.
02Author
Patch is ready for review in OCCT branch CR31714.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31714-master-KGV
03Commenter 3
Reviewed, please integrate.

A question: would not it be even nicer to make command names yellow?
04Author
> would not it be even nicer to make command names yellow?
Yellow is currently associated with warning and trace messages in OCCT, so I think it will might be confusing in this context.

man on Linux also prefers to intense white text instead of applying some colors.
05Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17322.48000000014 / 17160.470000000118 [+0.94%]
Products
Total CPU difference: 11882.560000000085 / 11820.020000000079 [+0.53%]
Windows-64-VC14:
OCCT
Total CPU difference: 18716.078125 / 18725.125 [-0.05%]
Products
Total CPU difference: 13242.09375 / 13316.109375 [-0.56%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
06Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records