scanner: Fix reported executable name to 'wayland-scanner'
'wayland-scanner -v' (correctly) reports the program as named "wayland-scanner", but 'wayland-scanner -h' was inconsistent, referring to it as './scanner'. Also refactor this and other references to the program name to use a common #define, PROGRAM_NAME. Signed-off-by: Bryce Harrington <firstname.lastname@example.org> Reviewed-by: Jonas Ådahl <email@example.com> Reviewed-by: Yong Bakos <firstname.lastname@example.org> Tested-by: Yong Bakos <email@example.com>
Showing with 8 additions and 6 deletions