From d6fb5300496565d8de2180a468c783fdf382085a Mon Sep 17 00:00:00 2001 From: Igor Sobrado Date: Sat, 5 Jul 2008 21:00:39 +0000 Subject: each utility must have its own usage and an unique set of options. diff written by millert based on a previous one by me; millert's diff has a much better style and adds support for different sets of options for each utility. ok millert@ --- usr.bin/compress/compress.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'usr.bin/compress/compress.h') diff --git a/usr.bin/compress/compress.h b/usr.bin/compress/compress.h index 8eca5a209f2..3a7b635b715 100644 --- a/usr.bin/compress/compress.h +++ b/usr.bin/compress/compress.h @@ -1,4 +1,4 @@ -/* $OpenBSD: compress.h,v 1.8 2005/06/26 18:20:26 otto Exp $ */ +/* $OpenBSD: compress.h,v 1.9 2008/07/05 21:00:38 sobrado Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -43,6 +43,13 @@ struct z_info { */ #define Z_BUFSIZE 16384 +/* + * program modes + */ +#define MODE_COMP 0 +#define MODE_DECOMP 1 +#define MODE_CAT 2 + /* * exit codes for compress */ -- cgit v1.2.3