From f32bd2a18cde2a9f94d7f1d25c963235c90f6772 Mon Sep 17 00:00:00 2001 From: Bill-Gray Date: Wed, 26 Apr 2023 20:24:33 -0400 Subject: [PATCH] Added a command-line switch to 'fo' to allow specification of which object(s) are to be processed --- ObsCodes.htm | 1 + fo.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/ObsCodes.htm b/ObsCodes.htm index 6e91e20f..6066390a 100644 --- a/ObsCodes.htm +++ b/ObsCodes.htm @@ -2021,6 +2021,7 @@ M49 16.361720.919630-0.392206IAS Remote Observatory, Hakos M50 11.563750.738663+0.671862Virtual Telescope Project, Manciano M51 9.226970.655500+0.752709Robert Mayer Sternwarte, Heilbronn +M52 8.578500.758941+0.649052Sassari M90 65.4286 0.54672 +0.83452 Chervishevo N27 73.7253 0.57847 +0.81298 Omsk-Yogik Observatory N30 74.3694 0.85369 +0.51909 Zeds Astronomical Observatory, Lahore diff --git a/fo.cpp b/fo.cpp index 39cbd7ed..dc8164c6 100644 --- a/fo.cpp +++ b/fo.cpp @@ -591,6 +591,13 @@ int main( int argc, const char **argv) case 'n': starting_object = atoi( arg); break; + case 'N': + { + extern const char *desig_pattern; + + desig_pattern = arg; + } + break; case 'O': /* write output files to specified dir */ { extern const char *output_directory;