From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79181 invoked by alias); 1 Jun 2019 21:23:45 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 79171 invoked by uid 89); 1 Jun 2019 21:23:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=visualize, factorized, help_test_raw, styling X-HELO: mailsec102.isp.belgacom.be Received: from mailsec102.isp.belgacom.be (HELO mailsec102.isp.belgacom.be) (195.238.20.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 01 Jun 2019 21:23:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1559424222; x=1590960222; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=YG/Sj7fjNFK3SQhhHC9lGQnPU5y2ovndodklOmPxk2M=; b=ocvbS4RpteSZxf8QySQeC0LHKsJ/UwOEZ+OgF26pMzdRNlFKml3LocJL +fXFCBYi3vmiuXdLO97xhWtUfOdAzg==; Received: from 161.32-242-81.adsl-dyn.isp.belgacom.be (HELO md.home) ([81.242.32.161]) by relay.skynet.be with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 01 Jun 2019 23:23:40 +0200 From: Philippe Waroquiers To: gdb-patches@sourceware.org Subject: [RFAv2 0/4] Improve "show style", have "help" and "apropos" styling their output. Date: Sat, 01 Jun 2019 21:23:00 -0000 Message-Id: <20190601212331.12085-1-philippe.waroquiers@skynet.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00007.txt.bz2 Improve "show style", have "help" and "apropos" styling their output. This patch series improves the "show style" output to let the user visualize all the styles with one command. "help" and "apropos" commands are now styling their output. The "help" testing is also better factorized. This is the second version of the patch series. This version handles the comments of Tom. In particular, help_test_raw and test_class_help have got cleaner optional argument TESTNAME. gdb.base/style.exp has been expanded to test the styling in help, apropos and show style commands.