]> granicus.if.org Git - graphviz/commit
Allow lefty -? to show usage even if there's no DISPLAY (FEATURE_X11)
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 8 Sep 2020 22:58:36 +0000 (00:58 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 11 Sep 2020 06:01:42 +0000 (08:01 +0200)
commit38fb5456d0d2909609deefe9c950c31bb33dca54
tree936760d708a4f019a23d0e16f206fe4816711185
parent2b09f564948a9b43c426f2a8220bb41d658b0f1e
Allow lefty -? to show usage even if there's no DISPLAY (FEATURE_X11)

Parse lefty args before starting app and trying to open DISPLAY. This
allows testing that lefty can start in CI.

This change only affects the X11 variant (FEATURE_X11 or FEATURE_NONE
defined), not the Windows variant.
cmd/lefty/lefty.c