From patchwork Fri Sep 10 08:32:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 168342 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8A8St9i030169 for ; Fri, 10 Sep 2010 08:33:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755436Ab0IJIdF (ORCPT ); Fri, 10 Sep 2010 04:33:05 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:54792 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755299Ab0IJIdD (ORCPT ); Fri, 10 Sep 2010 04:33:03 -0400 Received: by iwn5 with SMTP id 5so1970464iwn.19 for ; Fri, 10 Sep 2010 01:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :date:message-id:x-mailer; bh=it9sikPGWPq37LKYKBF5gyp1xd3HPRXjaevmKr7xjHY=; b=QQUvuMhSB+mD8FpUwGolEZrQSWVvIxgGnDHlQnLu9zv30B8AVrW1IFaKypvvKC8ahP yjG+AJ+Ed3ERbYdnRChYsqPpxJz19vM4qKWQqcrJbyDxHlpkF6a85lgneP9i2LUTW202 uo7nT/fPuj2RUzJ4S3zVDnEX9I4vQm3r/XwY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=OclcF4G3O/4zzydEs1PF8o++FE6/QUmZIrT+P3ZJtEExeZ8pvQ6jHFotLa4YcHDILw Q3z6hbjjrosy3XyJxbxu2LjEFBulU8MZooX/EIpQsRfWkDqvdVtPffAtChFypz6gWW01 il7wbqT9CKup6x9WD76DdF1Q7ZKuuw+iJI7mQ= Received: by 10.231.12.77 with SMTP id w13mr587233ibw.80.1284107578765; Fri, 10 Sep 2010 01:32:58 -0700 (PDT) Received: from earth ([75.85.182.25]) by mx.google.com with ESMTPS id n20sm2135182ibe.23.2010.09.10.01.32.55 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Sep 2010 01:32:57 -0700 (PDT) Received: by earth (sSMTP sendmail emulation); Fri, 10 Sep 2010 01:32:50 -0700 From: Stephen Boyd To: linux-kbuild@vger.kernel.org Cc: Michal Marek , linux-kernel@vger.kernel.org, Nir Tzachar Subject: [PATCH] nconfig: Fix help for choice menus Date: Fri, 10 Sep 2010 01:32:50 -0700 Message-Id: <1284107570-17124-1-git-send-email-bebarino@gmail.com> X-Mailer: git-send-email 1.7.2.3.313.gcd15 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 10 Sep 2010 08:33:06 +0000 (UTC) diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index 2ba71bc..19d3401 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c @@ -1252,6 +1252,8 @@ static void show_help(struct menu *menu) str_append(&help, _(menu_get_help(menu))); str_append(&help, "\n"); get_symbol_str(&help, menu->sym); + } else { + str_append(&help, _(menu_get_help(menu))); } } else { str_append(&help, nohelp_text);