Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Describe new -n option in a comment; improve descri...
details: https://anonhg.NetBSD.org/src/rev/be666ddca36c
branches: trunk
changeset: 748619:be666ddca36c
user: apb <apb%NetBSD.org@localhost>
date: Thu Oct 29 06:33:27 2009 +0000
description:
Describe new -n option in a comment; improve description of -m option.
diffstat:
sys/conf/osrelease.sh | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 3e09cd628250 -r be666ddca36c sys/conf/osrelease.sh
--- a/sys/conf/osrelease.sh Thu Oct 29 03:38:11 2009 +0000
+++ b/sys/conf/osrelease.sh Thu Oct 29 06:33:27 2009 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: osrelease.sh,v 1.116 2009/10/26 15:32:38 joerg Exp $
+# $NetBSD: osrelease.sh,v 1.117 2009/10/29 06:33:27 apb Exp $
#
# Copyright (c) 1997 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -38,7 +38,9 @@
release=`$AWK '/^#define[ ]*__NetBSD_Version__/ { print $6 }' $PARAMH`
# default: return nn.nn.nn
-# -m: return the major number -- -current is the number of the next release
+# -m: return nn, representing only the major number; however, for -current,
+# return the next major number (e.g. for 5.99.nn, return 6)
+# -n: return nn.nn
# -s: return nnnnnn (no dots)
case $1 in
Home |
Main Index |
Thread Index |
Old Index