From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115763 invoked by alias); 3 Aug 2019 13:39:31 -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 115755 invoked by uid 89); 3 Aug 2019 13:39:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=UD:be, HContent-Transfer-Encoding:8bit X-HELO: mailsec116.isp.belgacom.be Received: from mailsec116.isp.belgacom.be (HELO mailsec116.isp.belgacom.be) (195.238.20.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 03 Aug 2019 13:39:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1564839570; x=1596375570; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=tBAr/r9fX1P9WK2bDsgQxx8xubVPgKlNK7dubsdf/X0=; b=0PlEPnqcljcvxXFK1qnR//ItVXQWep0mjkco6II/Ho0ogD2xmohuSLfC mpSwrI/CDsqDwpooUrrc5UPDOrrrzQ==; Received: from 96.218-128-109.adsl-dyn.isp.belgacom.be (HELO md.home) ([109.128.218.96]) by relay.skynet.be with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 03 Aug 2019 15:39:27 +0200 From: Philippe Waroquiers To: gdb-patches@sourceware.org Subject: [RFAv2 0/2] Make first and last lines of 'command help documentation' consistent + add a test Date: Sat, 03 Aug 2019 13:39:00 -0000 Message-Id: <20190803133921.20154-1-philippe.waroquiers@skynet.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00080.txt.bz2 This patch series ensures the help doc of commands respects 2 invariants. Patch 1 changes the code and tests so that invariants are respected; Patch 2 implements a selftest to verify the invariants. This is the second version of the change. Compared to the first version, the changes are handling the comments given by Tom and Pedro. The changes are: * The test to verify the invariants is now a separate patch, and is implemented as a selftest, as discussed on irc. * Some updates to the help: help delete: removed "or auto-display expressions" removed that unset is an alias for delete, as unset is not an alias of delete. help interpreter-exec: after confirming that effectively several commands can be given, doc updated to clarify this. help substitute-path: replaced "source files names directories" by "source directories" (same wording as in the user manual).