Commit 8c775f6a 8c775f6a8fa29d5dd5a2a85c99ab8f0bcb4dde4c by Sergey Poznyakoff

Implemented push command.

1 parent c86adbc8
...@@ -329,6 +329,8 @@ list (struct mh_whatnow_env *wh, int argc, char **argv, int *status) ...@@ -329,6 +329,8 @@ list (struct mh_whatnow_env *wh, int argc, char **argv, int *status)
329 static int 329 static int
330 push (struct mh_whatnow_env *wh, int argc, char **argv, int *status) 330 push (struct mh_whatnow_env *wh, int argc, char **argv, int *status)
331 { 331 {
332 int rc;
333 invoke ("sendproc", "send", argc, argv, "-push", wh->file, &rc);
332 return 0; 334 return 0;
333 } 335 }
334 336
...@@ -365,6 +367,8 @@ refile (struct mh_whatnow_env *wh, int argc, char **argv, int *status) ...@@ -365,6 +367,8 @@ refile (struct mh_whatnow_env *wh, int argc, char **argv, int *status)
365 static int 367 static int
366 send (struct mh_whatnow_env *wh, int argc, char **argv, int *status) 368 send (struct mh_whatnow_env *wh, int argc, char **argv, int *status)
367 { 369 {
370 int rc;
371 invoke ("sendproc", "send", argc, argv, wh->file, NULL, &rc);
368 return 0; 372 return 0;
369 } 373 }
370 374
......