diff options
| author | Philippe Charnier <charnier@FreeBSD.org> | 1999-11-21 16:11:56 +0000 |
|---|---|---|
| committer | Philippe Charnier <charnier@FreeBSD.org> | 1999-11-21 16:11:56 +0000 |
| commit | dd562b0ebb925ec9e25231e67f02e314087a4624 (patch) | |
| tree | 67759e9292d39ce1006937690e2717ae297a5741 | |
| parent | 959b26f66f5716dc4d3c880d8f7fd2310807c358 (diff) | |
Notes
| -rw-r--r-- | bin/chflags/chflags.1 | 14 | ||||
| -rw-r--r-- | bin/chflags/chflags.c | 6 | ||||
| -rw-r--r-- | usr.bin/chflags/chflags.1 | 14 | ||||
| -rw-r--r-- | usr.bin/chflags/chflags.c | 6 |
4 files changed, 24 insertions, 16 deletions
diff --git a/bin/chflags/chflags.1 b/bin/chflags/chflags.1 index d6b64be08544c..a76f8c2b6ffe2 100644 --- a/bin/chflags/chflags.1 +++ b/bin/chflags/chflags.1 @@ -48,17 +48,17 @@ .Op Fl H | Fl L | Fl P .Oc .Ar flags -.Ar file ... +.Ar .Sh DESCRIPTION The -.Nm chflags +.Nm utility modifies the file flags of the listed files as specified by the .Ar flags operand. .Pp The options are as follows: -.Bl -tag -width Ds +.Bl -tag -width indent .It Fl H If the .Fl R @@ -107,7 +107,7 @@ Symbolic links do not have flags, so unless the or .Fl L option is set, -.Nm chflags +.Nm on a symbolic link always succeeds and has no effect. The .Fl H , @@ -121,9 +121,9 @@ In addition, these options override each other and the command's actions are determined by the last one specified. .Pp You can use "ls -lo" to see the flags of existing files. -.Pp +.Sh DIAGNOSTICS The -.Nm chflags +.Nm utility exits 0 on success, and >0 if an error occurs. .Sh SEE ALSO .Xr ls 1 , @@ -133,6 +133,6 @@ utility exits 0 on success, and >0 if an error occurs. .Xr symlink 7 .Sh HISTORY The -.Nm chflags +.Nm command first appeared in .Bx 4.4 . diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c index 664609417ef51..2f4a96ee515cd 100644 --- a/bin/chflags/chflags.c +++ b/bin/chflags/chflags.c @@ -38,7 +38,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -static const char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94"; +#if 0 +static char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94"; +#endif +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/chflags/chflags.1 b/usr.bin/chflags/chflags.1 index d6b64be08544c..a76f8c2b6ffe2 100644 --- a/usr.bin/chflags/chflags.1 +++ b/usr.bin/chflags/chflags.1 @@ -48,17 +48,17 @@ .Op Fl H | Fl L | Fl P .Oc .Ar flags -.Ar file ... +.Ar .Sh DESCRIPTION The -.Nm chflags +.Nm utility modifies the file flags of the listed files as specified by the .Ar flags operand. .Pp The options are as follows: -.Bl -tag -width Ds +.Bl -tag -width indent .It Fl H If the .Fl R @@ -107,7 +107,7 @@ Symbolic links do not have flags, so unless the or .Fl L option is set, -.Nm chflags +.Nm on a symbolic link always succeeds and has no effect. The .Fl H , @@ -121,9 +121,9 @@ In addition, these options override each other and the command's actions are determined by the last one specified. .Pp You can use "ls -lo" to see the flags of existing files. -.Pp +.Sh DIAGNOSTICS The -.Nm chflags +.Nm utility exits 0 on success, and >0 if an error occurs. .Sh SEE ALSO .Xr ls 1 , @@ -133,6 +133,6 @@ utility exits 0 on success, and >0 if an error occurs. .Xr symlink 7 .Sh HISTORY The -.Nm chflags +.Nm command first appeared in .Bx 4.4 . diff --git a/usr.bin/chflags/chflags.c b/usr.bin/chflags/chflags.c index 664609417ef51..2f4a96ee515cd 100644 --- a/usr.bin/chflags/chflags.c +++ b/usr.bin/chflags/chflags.c @@ -38,7 +38,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -static const char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94"; +#if 0 +static char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94"; +#endif +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ #include <sys/types.h> |
