summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/sandman.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/sandman.m b/scripts/sandman.m
index 838920d..99899ab 100644
--- a/scripts/sandman.m
+++ b/scripts/sandman.m
@@ -44,8 +44,7 @@ static void handler(int signal) {
 int main(int argc, char *argv[]) {
 	uint delay = 8;
 
-	int opt;
-	while (0 < (opt = getopt(argc, argv, "t:"))) {
+	for (int opt; 0 < (opt = getopt(argc, argv, "t:"));) {
 		switch (opt) {
 			break; case 't': delay = strtoul(optarg, NULL, 10);
 			break; default:  return EX_USAGE;
4d83e3a302d9265b45fc42ea842889acf42ab&follow=1'>Set gruvbox vert split relative to backgroundJune McEnroe 2016-05-15Cache GPG key for half an hourJune McEnroe 2016-04-29Test for linux insteadJune McEnroe 2016-04-29Remove explicit syntax/filetype onJune McEnroe neovim 0.1.4 actually doesn't need them! 2016-04-12Remove gvim=mvim aliasJune McEnroe 2016-04-12Detect Darwin or *BSD for aliasesJune McEnroe 2016-04-07Use default pinentry and set GPG_TTYJune McEnroe 2016-04-07Add git config override includeJune McEnroe 2016-04-06Simplify install scriptJune McEnroe 2016-04-06Add gpg-agent to READMEJune McEnroe 2016-04-06Always sign git commitsJune McEnroe 2016-04-06Use standard socket for gpg-agentJune McEnroe 2016-04-06Set iTerm font to PointfreeJune McEnroe